9.0
129
See Also: ChDir, ChDrive.
Example
Sub Main
Debug
.Print CurDir$()
End
Sub
CVar Function
Syntax
CVar(Num|$)
Group
Conversion
Description
Convert to a variant value.
Parameter Description
Num|$ Convert a number or string value (or object reference) to a variant value.
Example
Sub Main
Debug
.Print CVar(Sqr(2)) ' 1.4142135623731
End
Sub
CVErr Function
Syntax
CVErr(Num|$)
Group
Conversion
Description
Convert to a variant that contains an error code. An error code can't be used in expressions.
Parameter Description
Num|$ Convert a number or string value to an error code.
See Also: IsError.
Example
Sub Main










