INDEX |
index is the current index when entering dimensioned variables in a mask.
Shortint [S]index
Extract from an entry screen: two addresses are entered, over 3 lines, respectively ADLIV and ADFAC, which should be the same by default.
The following zones will be used:
|
Name of zone |
ADLIV |
ADFAC |
Index is used to obtain the current input index of a dimensioned zone (whether or not it is arranged as a scrolling table).
Issue has values beginning with 0 (unlike nolign which begins with 1).
In an entry mask for a dimensioned zone, only one initialisation or control expression may be given. Using the variable index which varies during entry, conditions dependent on the index may be defined, even if they take very different forms.
For example, several default values may be defined, either using a label in which the value of the indexvariable will be tested, or for example, using as a default value evalue(EXPRESSIONS(index)), EXPRESSIONS being a table of character strings containing the various default value expressions.
No associated errors.
|
|