System.Variant.ArrayRedim

From RAD Studio API Documentation
Jump to: navigation, search

C++

void    __fastcall ArrayRedim(int highBound);

Properties

Type Visibility Source Unit Parent
function public sysvari.h System Variant

Description

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

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

See Also