Promotic

LBound - function of language VBScript

Description:
Returns the smallest available index for the indicated dimension of the array.
Syntax:
Long LBound(Array array, [Integer dimension])
Parameters:
array(Array) the array variable
dimension[optional] (Integer) Integer indicating which dimension's lower index is returned. Use 1 for the first dimension, 2 for the second, etc. If not set, then 1 is assumed.
Note:
The LBound function is used with the UBound function to determine the size of the array. Use the UBound function to find the upper limit of an array dimension. The index for any dimension is always 0.
Example:
VBScriptSelect and copy to clipboard

Dim n
n = LBound(arr, 1)
PROMOTIC 9.0.18 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.