ArcBasicDocs

ReadLine

Reads a line of text.

ReadLine ( stream )

Parameters

stream
the file or stream's handle.

Description

Reads a line of text, up to the end of the line, and gives it back without the line ending. Both Windows and Mac line endings work, so text files from any computer read cleanly. At the end of the file it gives back an empty string.

See also