Description |
The GetLowerBound method returns the starting index for the specified array Dimension.
|
|
Microsoft MSDN Links |
System
System.Array
|
|
|
A simple example |
program Project1;
{$APPTYPE CONSOLE}
var
myArray : System.Array;
lower : Integer;
begin
// Create a 10 element single dimension array of Integers
myArray := System.Array.CreateInstance(TypeOf(Integer), 10);
// Get the lower bound of the first and only (0) dimension
lower := myArray.GetLowerBound(0);
Console.WriteLine('LowerBound = {0}', lower.ToString);
Console.ReadLine;
end.
| Show full unit code | LowerBound = 0
|
|
|
|