Returns the value of a variant
(vlax-variant-value var)
Arguments
A variable whose value is a variant.
Return Values
The value of the variable. If the variable does not contain a variant, an error occurs.
Examples
_$ (vlax-variant-value varstr)
"ghost"
_$ (vlax-variant-value varint)
5
_$ (vlax-variant-value notvar)
; *** ERROR: bad argument type: variantp 6.0
notvar does not contain a variant.
The last example results in an error, becausevlax-make-safearray and vlax-make-variant functions.
The