GetLowerBound(Dimension: Integer): Integer;
Dimension. Number of the dimension, the lower limit of which must be obtained. Dimensions numbering starts with one.
The GetLowerBound method returns the lower limit of the dimension, the number of which is passed as the Dimension input parameter.
Sub UserProc;
Var
Ar: Array[-5..10, 15];
Lower, i, j: Integer;
Begin
For i := -5 To 10 Do
For j := 0 To 14 Do
Ar[i, j] := i * j;
End For;
End For;
Lower := Ar.GetLowerBound(1);
End Sub UserProc;
After executing the example data is written to the Ar two-dimensional array, and the Lower variable contains the lower limit of the first dimension, in this case, -5.
See also: