Array1 - method of object PmArray
Sets and fills onedimensional array with values.
Array1(arglist As Variant) As Array
a = Array1(arglist)
|arglist||(Variant) Comma-delimited list of values that are assigned to the elements of an array. If no parameters are specified, then an array of zero length is created.|
The method returns the same object it was called upon. This is jus a helping instrument so the PmArray
object can be created in the one row and fill it with values - see Example
The method can also be called in the graphic item events for Web panels
method can be used for general creation of 1- or 2-dimensional arrays.
Creates 1-dimensional array from values (10, 20, 30, 40)
var a = Pm.CreatePmArray().Array1(10, 20, 30, 40);
var a = Pm.CreatePmArray();
a.Array1(10, 20, 30, 40);