Promotic
WikipediaLinkedInYoutubeTwitterFacebook

GetVarSubArray - method of object PmData

Description:
Getting one-dimensional array inclusive of values of defined variables on the Data page of this object
Syntax:
GetVarSubArray(vFrom As Variant, vTo As Variant) As Array
Calling:
arr = oData.GetVarSubArray(from, to)
Parameters:
vFrom(Variant) Index of the first variable (zero-based index) whose value will be located into one-dimensional array.
vTo(Variant) Index of the last variable (zero-based index) whose value will be located into one-dimensional array.

The value -1 means the last variable of the object.

Note:

Variables values indexed by the vFrom and vTo (including) will be selected into one-dimensional array.

Values from so created one-dimensional array can be assigned to variables of the Data page by calling the SetVarArray and SetVarSubArray methods.

The GetVarArray method serves for getting one-dimensional array of all variables values of the Data page.

© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice