Line Input # statement (LotusScript® Language)

Reads a line from a sequential file into a String or Variant variable.


Line Input # fileNumber , varName


# fileNumber

The number assigned to the file when you opened it. A # sign must precede the file number.


A String or Variant variable to hold the contents of one line of the file.


Line Input # reads characters from a sequential file until it encounters a newline character. Line Input # does not read the newline character into the variable.

When reading a multiline string from a sequential file, use the Input # statement, not the Line Input # statement.