...
- INT - integer variable within the range of -2147483647...2147483648
- BOOL - logical variable (Boolean)
- REAL - real variable within the range of -1.7E+308...`
- TIME - variable of Absolute time type
- TEXT - variable of Text type
- ALIAS - reference to a D2000 system object
- RECORD - structured variable
Note
The objects SD.RecordDef and SV.Structure objects are used for a demonstration of some features of local variables.
...
Kotva | ||||
---|---|---|---|---|
|
...
Change of the array size of a local variable may be executed by using the REDIM action.
Example: Change the array size to ten (10) items
...
The item Object changes its own type together with individual assignments.
After assigning a value to an Object type item of a Structured variable type object, this assignment is automatically redirected to the linked object (likewise untyped ALIAS). If the item is not linked to an object, an error will occur only if the action WAIT follows.
...
- The term Structure described below represents the value of a local variable of Record type or the value of a Structured variable type object.
...
After the action execution, the values of all the items of row 2 of the local variable (_recLocal[2]) are the same as the values of row 1 of the object SV.Structure. For example: , the expression _recLocal[2]^Int returns the same value as the expression SV.Structure[1]^Int.
The feature of row binding is also allowed for other actions:
...