Syntax: AUTOINPUT [(lun)] @(screen-position),variable-name[,length-override]
screen-position = the column and row (respectively) from where data will be input
variable-name = the name of the input variable
length-override = the size of the input field (number of characters)
Note: If no lun is specified, the AUTOINPUT statement assumes lun 0.
Discussion: AUTOINPUT performs the same function as the INPUT statement, except under program control (and not requiring operator action). This statement can be used to automate the input process, and can be especially useful with other features such as Comet hyperlinks.
History: The AUTOINPUT statement was added in Build 311.
Example 1: This AUTOINPUT statement inputs of 5 bytes of data from screen position 20,4 and assigns this value to A$.
LENGTH 5 & LOCAL A$
Example 2: This AUTOINPUT statement inputs 3 values from the screen into variables A$, B$, and C$, respectively.
LENGTH 5 & LOCAL A$, B$, C$
AUTOINPUT @(20,4),A$ ; @(20,5),B$ ; @(20,6),C$