[Next] [Up] [Previous]

The INPUT Statement

The INPUT statement has the form:

       INPUT device:index,line-number,modifier,modifier...;
             control-character;item:format...;item:format,item:format...

and reads in values from the specified device into the items in the final item:format section, possibly prompting with the items in the previous item:format section before the last semicolon, if that section is present.

Where no format is specified, items read in are expected to be in free format, separated by delimiters (space or comma).

Where numeric input is expected, # may be replaced by E, D, or Q, and prefix ! may be replaced by postfix I, to allow input of numbers from non-FALCON systems.

Note that INPUT has the abbreviation ?, which is also a token escape character. Unlike other single-character keyword abbreviations, ? must be followed by a space when used in this manner.


[Next] [Up] [Previous]