Struct
(Engine-Level Function)
Description: |
Creates a new dictionary and loads it with the keys listed in the parameters. |
Returns: |
Dictionary structure |
Usage: |
Script Only. |
Function Groups: |
Variable Functions |
Related to: |
Dictionary | MetaData |
Format: |
Struct(A, B[, C ...]); |
Parameters: |
|
A |
The first value to add to the dictionary. |
B, C, etc. |
Subsequent values to be added. |
Comments: |
The dictionary created by this function is case insensitive and has a root value of NULL. The keys are assigned W_LONG values incrementing from zero that match their parameter positions. All of this is done with the idea that the resulting dictionary can then be used as a structure definition. |
Examples:
S = Struct("A", "B");
Trihedral and VTScada are registered trade marks of Trihedral Engineering Limited
© Trihedral Engineering Limited 1983- 2024 All rights reserved.