Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Create - method of object PmArray

Description:
Creates a 1- or 2-dimensional array.
Syntax:
Create(nSize1 As Long, [nSize2 As Long]) As Array
Calling:
PmArray.Create(nSize1[,nSize2]);
Parameters:
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.

Return Values:
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 1st row and then configured to desired size - see Example.
Note:
The method can also be called in the graphic item events for Web Panels.
Example:
var arr = Pm.CreatePmArray().Create(3,5);
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice