Write scalars

Syntax: WRITE\SCALAR file s1 { s2 ... }
Qualifiers: \APPEND
Examples: WRITE\SCALAR FILE.DAT A B C
WRITE\SCALAR\APPEND FILE.DAT A B C

The WRITE\SCALAR command writes scalars to a file. If \APPEND is used, and if the output file already exists, the data will be appended onto the end of the file. One line will be written to the file which will contain columns of data, where the Ith column will be scalar sI. A maximum of 29 scalars can be written with one WRITE\SCALAR command.

Example

To write scalars A and B to file FILE.DAT and then to append to the file the vectors X, Y and Z, enter:

 WRITE\SCALAR FILE.DAT A B
 WRITE\APPEND FILE.DAT X Y Z
 

  WRITE command
  Write a matrix