March 2000
Intermediate to advanced
576 pages
18h 13m
English
VarCopy Procedure
procedure VarCopy(var Dest: Variant; const Source: Variant);
VarCopy clears Dest and assigns
a copy of Source to Dest.
VarCopy is not a real function.
Assigning Dest
:=
Source ends up calling the
VarCopy procedure, but assignment is sometimes
more efficient.
If Dest is an OleVariant, and
Source is a Variant of type
varString, VarCopy
automatically converts the type to
varOleStr.
| OleVariant Type, Variant Type |
Read now
Unlock full access