NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HxLink DID NOT INITIALIZE

LineInput # Function

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

LineInput (channel, value)

Arguments

channel
Required. Any valid file number.
value
Required. Valid String variable name.

Remarks

Data read with LineInput # is usually written from a file with Print #.

The LineInput # function 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.

See Also

Example

Chr Function | Input # Function | Returning Strings from Functions