Returns the elements of a safearray in list form
(vlax-safearray->list var)
Arguments
A variable containing a safearray.
Return Values
A list.
Examples
Create a single-dimension array of doubles:
_$ (setq point (vlax-make-safearray vlax-vbDouble '(0 . 2)))
#<safearray...>
vlax-safearray-put-element to populate the array:
Use_$ (vlax-safearray-put-element point 0 100)
100
_$ (vlax-safearray-put-element point 1 100)
100
_$ (vlax-safearray-put-element point 2 0)
0
Convert the array to a list:
_$ (setq pointlist (vlax-safearray->list point))
(100.0 100.0 0.0)
vlax-safearray->list:
The following example demonstrates how a two-dimension array of strings is displayed by_$ (vlax-safearray->list matrix)
(("a" "b") ("c" "d"))
vlax-make-safearray, vlax-safearray-fill, and vlax-safearray-put-element functions.
The