Resizes a Variant array.
procedure VarArrayRedim(A: Variant; HighBound: Integer);
VarArrayRedim(Variant A, int HighBound);
System
VarArrayRedim resizes the given Variant array by changing the high bound of the rightmost dimension to the given value. The A parameter can be a Variant or an OleVariant, and it must be possible to assign a value to A (A must be an lvalue).
Existing elements of the array are preserved, and new elements are set to zero or empty. An EVariantArrayCreateError exception is thrown if the Variant given by A is not an array, or if there is not enough memory to resize the array.
VarArrayCreate
VarArrayLock
EVariantArrayCreateError
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|