System.Variant.ArrayHighBound

From RAD Studio API Documentation
Jump to: navigation, search

C++

int     __fastcall ArrayHighBound(const int dim = 1) const;

Properties

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

Description

Returns the high bound of the given dimension in the given variant array.

The dim parameter should be 1 for the leftmost dimension, 2 for the second leftmost dimension, and so on. An EVariantError exception is raised if the variant given by A is not an array, or if the dimension specified by dim does not exist.

See Also