User Tools

Site Tools


en:eof

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:eof [2016/08/12 21:28]
admin
en:eof [2020/02/28 10:46]
Line 1: Line 1:
-===== 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| 
  
en/eof.txt ยท Last modified: 2020/02/28 10:46 (external edit)