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 QuickSCREEN
◄QuickSCREEN► ◄Details► ◄Example► ◄Contents► ◄Index►
──────────────────────────────────────────────────────────────────────────────
INPUT - a device I/O statement that reads input from the keyboard
during program execution and stores it into a list of variables
Syntax
INPUT[;]["promptstring"{;|,}]variablelist
■ variablelist is one or more variables separated by commas
■ promptstring, if used, is displayed on the screen to tell the user
of the program what to enter at the keyboard
■ the characters ";" and "," are ◄Details►
See Also ◄INKEY$►
Other Uses of the INPUT Keyword
◄LINE INPUT► - to read an entire line of input from the keyboard and store
it in one string variable
◄INPUT #► - to retrieve data items (or "fields") from a sequential file
record and store them into a list of variables
◄LINE INPUT #► - to retrieve an entire record from a sequential file and
store it into one string variable