     command?.write(to: &result)
     let dataStr = getDataString(x)
     if result.isEmpty && !dataStr.isEmpty && dataStr.first != "-" {
-        " ".write(to: &result)
+        result.append(" ")
     }
     dataStr.write(to: &result)
     return result

        }
        
        if self.isClosed {
            "z".write(to: &data)
        }
    }
    

    var str = ""
    for _x in x.map({ dataFormatter.string(from: NSNumber(value: $0)) ?? "0" }) {
        if !str.isEmpty && _x.first != "-" {
            str.append(" ")
        }
        _x.write(to: &str)
    }
