TextReader.ReadLine
Syntax:
Parameters:
<Splitter> (optional)
Line splitter. If you have not typed in a line splitter, then when you open a file, it will match the one in your settings.
Default value: LF.
Returned value:
When the file to be read is completed, Undefined is returned.
Description:
Availability:
Note:
Example:
Text = New TextReader("d:\win.txt", TextEncoding.ANSI); Str = Text.ReadLine(); While Str <> Undefined Do // Lines are read to the line feed character Message(Str); Str = Text.ReadLine(); EndDo; |