Object PmArray (Array of values)
panels it is not possible to use the standard arrays of the VBScript
languages (see Language data types
). In these panels, all methods and properties use the PROMOTIC PmArray
- see How to use array of values in the PROMOTIC system
Comparison of objects used for data storage
The following object types can be used for holding values (of any data type). Each of these objects has certain advantages and disadvantages and the choice depends on the desired usage.
: This object contains values that are accessible by index into the array - it is possible to read any value at any time in this object. Reading and setting values is very fast, but adding is slow.
: This object contains values that are addressed by name (text identifier). Value names represent object properties. The advanatege is the "clarity" of usage in the script code. The disadvantage is the inability to access the values in cycle by index.
: This object contains binary values in data block. For reading/writing of individual value it is necessary to know its position (offset) in the data block and also the data type (size).