Returns the lower boundary (starting index) of a dimension of an array
(vlax-safearray-get-l-bound var dim)
An integer representing the lower boundary (starting index) of the dimension. If var is not an array, or dim is invalid (for example, 0, or a number greater than the number of dimensions in the array), an error results.
The following examples evaluate a safearray defined as follows:
(vlax-make-safearray vlax-vbString '(1 . 2) '(0 . 1) ))
Get the starting index value of the array's first dimension:
_$ (vlax-safearray-get-l-bound tmatrix 1)
1
The first dimension starts with index 1.
Get the starting index value of the second dimension of the array:
_$ (vlax-safearray-get-l-bound tmatrix 2)
0
The second dimension starts with index 0.
See Also
-
The vlax-make-safearray, vlax-safearray-get-dim, and vlax-safearray-get-u-bound functions.