TextReader

Methods:

Close
Open
Read
ReadLine

Constructors:

By file name
Uninitialized object adding

Description:

Used for reading text files (of great length) in sequence.

Availability:

Thin client, server, thick client, external connection, Mobile application (client), Mobile application (server).

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
;

See also:

TextWriter
TextReader, constructor By file name

    

1C:Enterprise Developer's Community