VAR
8.7
The VAR data definition declares a typeless data variable pointer. A typeless variable can contain the address of any PL/B language variable. The statement uses one of the following formats:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Where:
label
Optional. A Data Definition Label.
@
Required. An identifier.
array_size
Optional. An Integer decimal constant, CONST variable or equated value indicating the number of array items.
target
Optional. A previously declared VAR variable that initializes the array.
Flags Affected: NONE
Note the following:
A VAR variable can only be an operand in LISTGET, ROUTINE, LROUTINE, MOVEADDR, MOVEPTR, TYPE, CLEARADR, LOADADR, and STOREADR instructions.
See Also: Example Code, Data Definitions
![]() |