LineInputString

Reads a single line from an open sequential file and assigns it to a String variable.

Syntax

string = file.LineInputString()

Remarks

Data read with LineInputString is usually written from a file with LinePrint.

The LineInputString statement reads from a file one character at a time until it encounters a carriage return (Chr(13)) or carriage return–linefeed (Chr(13) + Chr(10)) sequence. Carriage return–linefeed sequences are skipped rather than appended to the character string.