March 2000
Intermediate to advanced
576 pages
18h 13m
English
VarToStr Function
function VarToStr(const V: Variant): string;
VarToStr converts a Variant to
a string. If V is Null,
VarToStr returns an empty
string.
VarToStr is a real function.
The only difference between calling VarToStr and
simply assigning a Variant to a string variable
occurs if the Variant is Null.
Assigning Null to a string would result in runtime
error 15 (EVariantError).
| Null Variable, String Keyword, Variant Type, VarIsNull Function |
Read now
Unlock full access