Returns the data type of a safearray
(vlax-safearray-type var)
If var contains a safearray, one of the following integers is returned:
4 Single-precision floating-point number (vlax-vbSingle)
5 Double-precision floating-point number (vlax-vbDouble)
If var does not contain a safearray, an error results.
Create a single-dimension array of doubles and a two-dimension array of strings:
_$ (setq point (vlax-make-safearray vlax-vbDouble '(0 . 2)))
#<safearray...>
_$ (setq matrix (vlax-make-safearray vlax-vbString '(1 . 2) '(1 . 2) ))
#<safearray...>
Use vlax-safearray-type to verify the data type of the safearrays:
_$ (vlax-safearray-type point)
5
_$ (vlax-safearray-type matrix)
8
See Also
-
The vlax-make-safearray function.