Solved

# Procedure~~~~

Posted on 2003-02-24

==================================

uses crt;

procedure proce(var a:array of integer);

begin

a[1]:=1;

end;

var a:array[1..9] of integer;

i:integer;

begin

for i:= 1 to 9 do

a[i]:=999;

proce(a);

end.

==================================

in the above program, it is possible to set a by reference-array in the procedure and process.

but if we set the array be [1..9,1..2] ,then i can't work....just like the program below...

==================================

uses crt;

procedure proce(var a:array of integer);

begin

a[1][1]:=1;

end;

var a:array[1..9,1..2] of integer;

i:integer;

begin

for i:= 1 to 9 do

a[i][1]:=999;

proce(a);

end.

==================================

it says "invalid qualifier" and don't allow the programe to run....can anyone tell me the method to solve this problem???~~~THXXXXXXX