Next: HEADER
Up: Commands
Previous: CLEAR
Open, close, rewind a file. The first operand is positional.
FILE
OPENCLOSEREWINDENDFILE[,]
UNIT=,
[STATUS='status',]
[NAME='fname',] ;
-
- Logical file number. No default.
- status
- For OPEN, one of NEW, OLD, SCRATCH, UNKNOWN.
Default=UNKNOWN.
For CLOSE, one of KEEP, DELETE.
Default=KEEP. Not used for REWIND and ENDFILE.
Need not be enclosed by apostrophes.
- fname
- File name. Used for OPEN only. Need not be enclosed
by apostrophes if the name does not include
parenthesis, comma, and semicolon.
Toshiaki Tauchi
Thu Dec 3 17:27:26 JST 1998