Toshiba KB-80 Computer Keyboard User Manual


 
- 25 -
EOF
Function Checks the end of the sequential file, or whether or not the communication buffer
becomes empty.
Format EOF ( <file number> )
Term <file number>: The number assigned to the file by the OPEN statement
Explanation The EOF function returns -1 (true) when the specified file reaches EOF (End of File).
If the specified file does not reach EOF, the EOF function returns 0 (false).
A sequential file and RS-232C communication file are available.
When the EOF function results in -1 in the RS-232C communication file, it means the
buffer is empty.