xxxxxxxxxx
ShowMessage(arrName[1]); // display the element from index position 1
memDisplay.Lines.Add('The 7th element is: '+ IntToStr(arrValue[7]));
xxxxxxxxxx
const
Days : array[1..7] of string = ('Mon','Tue','Wed','Thu','Fri','Sat','Sun');
var
i : Integer;
begin
for i := 1 to 5 do // Show the weekdays
ShowMessageFmt('Day %d = %s',[i,Days[i]]);
end;
xxxxxxxxxx
Numbers : array[1..9] of string;
{ArrayNaem} : Array[{Start}..{End}] of {Tipe of arr};