var f: text; ... eoln(f)
EOLN returns TRUE if the current line of the textfile "f" has ended, and FALSE otherwise. For example, if you are using "read(ch)" to get the contents of a textfile, EOLN will return TRUE if the next call to READ would return a new-line (which is converted into a blank, just as it says in the manual).
If EOLN is called with no arguments, the predeclared file variable "input" is tested.
Copyright © 1996, Thinkage Ltd.