READ command

Syntax: READ file{/line_range} x1{/c1} { x2{/c2} ... }
READ\SCALARS file{/n} s1{/c1} { s2{/c2} ... }
READ\MATRIX file{/n} matrix nrows { ncols }
READ\TEXT file{/line_range} txtvar
Qualifiers: \VECTORS, \SCALARS, \MATRIX, \TEXT, \CLOSEFIRST, \CLOSEAFTER, \MESSAGES
Defaults: \VECTORS, \CLOSEFIRST, \CLOSEAFTER, \MESSAGES

By default, the file, assumed to be in ASCII format, is closed after reading, and a subsequent READ command of the same file will start reading at the first record. If the \-CLOSEAFTER qualifier is used, the file will be not closed after reading, so that the next READ operation of the same file will begin reading at the next record. If the \CLOSEFIRST qualifier is used, the file will be closed first and then reopened before reading, so the READ operation will begin at the first record.

By default, informational messages are displayed in the message area. If the \-MESSAGES, qualifier is used, these messages will not be displayed.

Read vectors
Read scalars