LineInputString

This method reads a single line from an open sequential file and assigns it to a string variable.

Syntax

file.LineInputString

Parameters

file
Reference to a File control.

Return Value

None.

Remarks

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

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