===== Eof (Function) ===== ==== Format ==== eof\\ eof()\\ eof([[integerexpressions|open_file_number]]) returns [[booleanexpressions|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|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 ==== {{page>en:start#File and Serial Port Input/Output&noheader}} ==== History ==== |0.9.4|New To Version| |1.1.4.0|Added serial port logic|