You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
C/C++: VARIANTs<br />
� data transfer uses VARIANT data type<br />
– includes VT_BYREF support<br />
� scalar support<br />
– VT_BOOL, VT_I2, VT_I4, VT_UI1, VT_R4, VT_R8, VT_BSTR<br />
– VT_EMPTY (maps to NULL)<br />
– VT_ERROR (xlErrDiv0, xlErrNA, xlErrNull)<br />
� arrays of same scalars (any dimensions)<br />
– optimized data transfer (e.g. 2x5 VT_R8 are 10 doubles)<br />
� arrays of different scalars<br />
– mixed transfer, not as efficient as shown above<br />
� objects<br />
– VT_DISPATCH<br />
– rcom is required in R