Purpose |
Reads data from the keyboard from within a graphic window or graphic control. |
Syntax |
GRAPHIC INPUT [prompt,] varlist |
prompt |
An optional quoted string literal or string equate which is displayed to the user as a prompt. |
varlist |
A comma delimited sequence of one or more or variables. |
Remarks |
GRAPHIC INPUT displays the prompt on the graphic window or graphic control, waits for the user to enter data from the keyboard, and assigns the data to the variables in varlist. Data entered from the keyboard must match the type of the variables -- that is, non-numeric characters are unacceptable for numeric variables. If a single GRAPHIC INPUT statement prompts for more than one variable, the user must enter the proper number of values on a single line, separated by commas. If not enough comma-delimited values are entered, remaining variables are set to zero or nul. |
See also |
GRAPHIC INKEY$, GRAPHIC INPUT FLUSH, GRAPHIC INSTAT, GRAPHIC LINE INPUT, GRAPHIC WAITKEY$ |