Eof
Eof (Function)
Format
eof
eof()
eof(open_file_number)
returns boolean_expression
Description
Returns a binary flag (true/false) that will signal if we have read to the End Of File (EOF). If file number is not specified then file number zero (0) will be used.
If the open file number is a serial port (opened with OpenSerial) then EOF returns a true value when there is pending data to receive. EOF that we are at the end of data but with this type of data source, new data may be received at any time. This behaviour is different than with a file.
See Also
Changedir, Close, Currentdir, Dir, Eof, Exists, Freefile, Kill, mkdir, Open, Openb, OpenFileDialog, OpenSerial, Read, Readbyte, Readline, Reset, rmdir, SaveFileDialog, Seek, Size, Write, Writebyte, Writeline
History
| 0.9.4 | New To Version |
| 1.1.4.0 | Added serial port logic |