September 2000
Intermediate to advanced
418 pages
11h 5m
English
| ACCEPT |
ACC[EPT] var [type] [FORMAT formatstring] [DEFAULT default] [PROMPT text | NOPROMPT] [HIDE] |
Reads a line of input and stores it in a variable.
var
Specifies the name of a variable that will hold the supplied value.
type
Restricts the type of input allowed, and may be either NUMBER, CHAR, or DATE.
FORMAT
Specifies that formatstring will be used as the input format for the input. See Table 5-5 for available numeric formats.
DEFAULT
Specifies that default will be used as a value if no input is supplied.
PROMPT
Specifies the text to be displayed as a prompt before accepting input.
HIDE
Specifies that the value input not be displayed on the screen.
Read now
Unlock full access