CalcIt Commands

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

Using WRITE we can write the contents returned from an array expression to an ASCII file. E.g.

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

The example writes size lines in ASCII file 'c:\MyTextFile.txt' starting at position start of variable ar.

If start is omitted then the beginning of ar is assumed.

If size is omitted then the rest of ar is assumed.

see also APPEND, XREAD, XWRITE

Go Back