System.Variants.VarArrayLowBound

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function VarArrayLowBound(const A: Variant; Dim: Integer): Integer;

C++

extern DELPHI_PACKAGE int __fastcall VarArrayLowBound(const System::Variant &A, int Dim);

Properties

Type Visibility Source Unit Parent
function public
System.Variants.pas
System.Variants.hpp
System.Variants System.Variants

Description

Returns the low bound of a dimension in a variant array.

VarArrayLowBound returns the low 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 exception is raised if the variant given by A is not an array (EVariantInvalidArgError), or if the dimension specified by Dim does not exist (EVariantBadIndexError)..

See Also


Code Examples