RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variant::ArrayRedim Method

Resizes the given variant array by changing the high bound of the rightmost dimension to the given value.

Pascal
procedure ArrayRedim(highBound: Integer);
C++
__fastcall void ArrayRedim(int highBound);

Existing elements of the array are preserved, and new elements are set to zero or empty. An ESystem::Variant::VariantError exception is raised if the variant given by A is not an array, or if there is not enough memory to resize the array. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!