VarArrayHighBound¶
Return lower bound of an array.
Declaration¶
Source position: variants.pp line 138
function VarArrayHighBound(const A: Variant; Dim: LongInt) : LongInt;
Arguments¶
| Name | Description |
|---|---|
| A | Array to check. |
| Dim | Dimension to check. |
Function result¶
High bound of the dimension Dim.
Description¶
VarArrayHighBound returns the high bound (max index) of dimension Dim of array A. The dimension Dim is 1-based.
Errors¶
If the dimension is out of range, or A is not a variant array, an exception will be raised.
See also¶
| Name | Description |
|---|---|
| VarArrayCreate | Create a variant array. |
| VarArrayDimCount | Return the number of dimensions of the array. |
| VarArrayLowBound | Return lower bound of an array. |