LINE INPUT # Statement Details Syntax LINE INPUT #filenumber,stringvariable The filenumber is the number used to open the file. The stringvariable is the variable the line is assigned to. The LINE INPUT # statement reads all characters in the sequential file up to a carriage return. It then skips over the carriage-return and line-feed sequence. The next LINE INPUT # reads all characters up to the next carriage return. LINE INPUT # is especially useful if each line of a data file has been broken into fields or a text file is being read a line at a time.