Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

  • 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
record
record
The variable of RECORD type allows creating a local variable of Record type. The structure type is given by the object of the Structure definition type, which is declared. If the RECORD variable is a formal parameter, its structure type - non-typed RECORD need not be set.

...

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 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 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:

...