vlax-safearray-get-u-bound


(vlax-safearray-get-u-bound saVar index)

This function returns the upper bound of the saVar SafeArray at specified index.

Arguments

saVar  (SafeArray) the SafeArray to retrieve the lower bound index (end index)
index  (integer)  the index for the dimension

Return

integer; the end index for the specified dimension

Example

(setq sa (vlax-make-safearray vlax-vbDouble '(0 . 1) '(2 . 4)))  #<safearray...>
(vlax-safearray-get-u-bound sa 1)  1
(vlax-safearray-get-u-bound sa 2)  4

Remarks

Note : the first dimension uses index 1 !



©  Bricsys NV. All rights reserved.