AND most important, if you pass an array to a procedure or function it is always 0 based in FPC, Delphi etc...
Try this:
type TMyArray = array[-100..100] of integer;
procedure Test(AData: TMyArray);
begin
WriteLn(Low(AData), ' - ', High(AData));
end;
var A: TMyArray;
begin
Test(A);
end.
i think you are on the wrong thread?