-
Declaration:
- Function SeekEoln [(Var F : text)] : Boolean;
-
Description:
- SeekEoln returns True is the file-pointer is at the end of the current line. It ignores all
whitespace. Calling this function has the effect that the file-position is advanced until the
first non-whitespace character or the end-of-line marker is reached. If the end-of-line marker
is reached, True is returned. Otherwise, False is returned. The end-of-line marker is defined
as #10, the LineFeed character. If the parameter F is omitted, standard Input is assumed.
-
Errors:
- A run-time error is generated if the file F isn’t opened.
-
See also:
- Eof (485), SeekEof (565), Seek (563)
Listing: refex/ex58.pp