Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Array1 - method of object PmArray

Description:
Creates and fills one-dimensional array with values.
Syntax:
Array1(arglist As Variant) As Array
Calling:
a = Array1(arglist)
Parameters:
arglist(Variant) comma-delimited list of values that are assigned to the elements of an array. If no arguments are specified, an array of zero length is created.
Return Values:
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 1st row and fill it with values - see Example.
Note:
The method can also be called in the graphic item events for Web Panels.
Example:
Creates 1-dimensional array of values (10, 20, 30, 40)
a = Pm.CreatePmArray().Array1(10,20,30,40);
  or
a.Array1(10,20,30,40);
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice