CVar (function)
Syntax | CVar (expression) |
Description | Converts expression to a Variant . |
Comments |
This function is used to convert an expression into a variant. Use of this function is not necessary (except for code documentation purposes) because assignment to variant variables automatically performs the necessary conversion:
|
Example |
This example converts an expression into a Variant.
|
See Also | CCur (function); CBool (function); CDate, CVDate (functions); CDbl (function); CInt (function); CLng (function); CSng (function); CStr (function); CVErr (function); Variant (data type). |