VAREXTRACT
requires parameters
number of parameters: 2 or 3
Usage: varextract ‘‘varname, pos’‘
varextract ‘‘varname, pos, len’‘
will create a new variable or store a new value in an existing variable. The value stored in this variable will be extracted from a position on the current screen.
the pos parameter specifies the position on the screen in row/column format from where the value will be extracted.
The optional third parameter (len) specifies the number of characters to read at that position. If this value is omitted, the contents of the whole field will be stored in the variable, including any trailing blanks.
Note: - Parameters must be separated by commas
- The varname/parameter(s) pair must be enclosed by the delimiter character if it contains any spaces