CalcIt Commands

XWRITE(FileName, ArrExpr, start=1, size=rest of ArrExpr)

Using XWRITE we can write the contents returned from an array expression to a text file in a special XML like syntax. E.g.

XWRITE('c:\MyTextFile.txt',ar,start,size);

Its syntax is the same as of the WRITE command. The difference is, that this command saves the array contents using a special XML like syntax so any multi-field elements (or arrays in elements, see array extension) can be saved and exactly recreated if the generated files is read back with XREAD command.

See also READ, WRITE, APPEND, XREAD

Go Back