| [Overview][Constants][Classes][Index] | 
Read a line of text
Source position: streamex.pp line 95
public procedure TTextReader.ReadLine(  | 
out AString: string  | 
); virtual; abstract; overload;  | 
AString  | 
  | 
The line of text that was read  | 
The line of text that was read
ReadLine will read a line of text from the text data source. A line of text is delimited by a CRLF character pair, a LF character or a CR character. The line ending characters are not included in the string.
The method exists in 2 versions: one function where the line of text is returned as the function result, one procedure where the line of text is returned in the AString parameter.
  | 
Check whether the end of the text data is returned.  |