User Tools

Site Tools


en:eof

This is an old revision of the document!


Eof (Function)

Format

eof
eof()
eof(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 ====

==== History ==== |0.9.4|New To Version| |1.1.4.0|Added serial port logic|

en/eof.1471026282.txt.gz · Last modified: 2020/02/28 10:46 (external edit)