Name
VarArrayHighBound Function
Syntax
function VarArrayHighBound(const V: Variant; Dim: Integer): Integer;
Description
VarArrayHighBound
returns the upper bound of dimension
Dim
for the Variant
array
V
. Dim
must be in the range 1
to VarArrayDimCount
. If Dim
is
out of range or if V
is not a
Variant
array, the function reports runtime error
20 (EVariantError
).
VarArrayHighBound
is a real function.
Example
See VarArrayCreate
for an example.
See Also
TVarArray Type, TVarArrayBound Type, VarArrayCreate Function, VarArrayDimCount Function, VarArrayLock Function, VarArrayLowBound Function, VarArrayOf Function, VarArrayRedim Procedure, VarArrayRef Function, VarArrayUnlock Function, Variant Type, VarIsArray Function, VarType Function |
Get Delphi in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.