R0b0t1
2007-12-02 19:08:49
This, for example, does not work.
?
EDIT: Forget that I didn't give the array values.
program New;
var
ColorArray: T2DIntArray;
X, Y, I: Integer;
begin
SetArrayLength(ColorArray, 100);
for I:= 0 to 100 do //We need to set the length of the arrays
SetArrayLength(ColorArray[I], 100);
for X:= 0 to 100 do //If you happen to know the size before hand.
for Y:= 0 to 100 do //X loop is first, then Y.
WriteLn('ColorArray['+IntToStr(X)+']['+IntToStr(Y)+']:= '+
IntToStr(ColorArray[X][Y]));
end.
?
EDIT: Forget that I didn't give the array values.