Returns an element from an array
(vlax-safearray-get-element var element...)
Create an array with two dimensions, each dimension starting at index 1:
_$ (setq matrix (vlax-make-safearray vlax-vbString '(1 . 2) '(1 . 2) ))
#<safearray...>
Use vlax-safearray-put-element to populate the array:
_$ (vlax-safearray-put-element matrix 1 1 "a")
"a"
_$ (vlax-safearray-put-element matrix 1 2 "b")
"b"
_$ (vlax-safearray-put-element matrix 2 1 "c")
"c"
_$ (vlax-safearray-put-element matrix 2 2 "d")
"d"
Use vlax-safearray-get-element to retrieve the second element in the first dimension of the array:
_$ (vlax-safearray-get-element matrix 1 2)
"b"
See Also