Returns the end-of-line status of a file, ignoring whitespace.
function SeekEoln: Boolean; overload; function SeekEoln(var F: Text): Boolean; overload;
Boolean SeekEoln(); Boolean SeekEoln(Text F);
System
In Delphi code, call SeekEoln to determine whether there is only whitespace between the file pointer and the end of the current line. SeekEoln moves the file pointer past any whitespace, leaving it positioned at the end of the current line, the end of the file, or on the next non-whitespace character (whichever comes first). If SeekEoln leaves the file pointer at the end of the current line or at the end of the file, it returns true. Otherwise, it returns false.
SeekEoln can be used only on open text files.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|