<< Click to Display Table of Contents >> Navigation: User guide > Variables > $spreadfield |
The term spreadfield represents a sequential range of data locations with a repeat count and is specified as $col-col*repeat.
A spreadfield name cannot be used by itself except when storing it (D (define) . When getting values from a spreadfield only the methods shown in Simple test on spreadfield can be used.
The field width can be up to 4 columns wide and repeat must be between 1 and 1000.
For binary data the whole area used should not run on beyond column 80.
A spreadfield is treated as multi-coded response data where each field contains an integer value that represents a response. Any field which does not contain a valid (right justified) integer is ignored. Leading blanks are allowed.
Examples of spreadfields:
$5-5*6
$471-472*5
$201-202*40
$1245-1248*500
The first example holds up to 6 values between 1 and 9 in $5-10.
The second example holds up to 5 values between 1 and 99 in $471-480.
The third example holds up to 40 values between 1 and 99 in $201-280.
The last example holds up to 500 values between 1 and 9999 in $1245-3244.