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: Sub Main() Dim v As Variant |
Example |
This example converts an expression into a Variant. Sub Main() Dim s As String |
See Also |
CCur (function); CBool (function); CDate, CVDate (functions); CDbl (function); CInt (function); CLng (function); CSng (function); CStr (function); CVErr (function); Variant (data type). |
C |