<< Click to Display Table of Contents >> Macro function TfEOF |
Purpose:
Function to test the end of a text file
General notation:
TfEOF( FileIndex )
Example:
TfOpenForRead( 1, 'output.txt' )
While( TfEOF(1) , = , FALSE )
TfReadln(1,a,b)
Text('a=',a,' b=',b)
end
TfClose(1)
See also:
Back to input commands.