qb45advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
INPUT # Statement Details
  QuickSCREEN      Details      Example      Contents      Index
──────────────────────────────────────────────────────────────────────────────
INPUT # Statement Details
 
Syntax
  INPUT #filenumber, variablelist
 
The filenumber is the number used when the file was opened for input.
The variablelist contains the names of the variables that are
assigned values read from the file. (The variable type must match the
type specified by the variable name.)
 
The data items in the file should appear just as they would if you
were entering data in response to an INPUT statement. Separate
numbers with a space, carriage return, line feed, or comma. Separate
strings with a carriage return or line feed (leading spaces are
ignored). The end-of-file character will end either a numeric or
string entry.
 
If BASIC is scanning the sequential data file for a string item, it
will also ignore leading spaces, carriage returns, and line feeds.
If end-of-file is reached when a numeric or string item is being INPUT,
the item is terminated.