Create - method of object PmArray
Creates a 1- or 2-dimensional array.
Create(nSize1 As Long, [nSize2 As Long]) As Array
|nSize1||(Long) first array dimension|
|nSize2||[optional] (Long) second array dimension |
If the 1-dimensional array is created the parameter is not used or its value is -1.
The method returns the same object it was called upon. This is just a helping instrument so the PmArray
object can be created in the one row and then configured to desired size - see Example
The method can also be called in the graphic item events for Web panels
method can sometimes be more effective for creation of 1-dimensional arrays.