Dear Florian,
var
a : array of array of real;
begin
setlength(a,num_rows,num_columns);
Interesting. What about schema types that are no simple arrays? Like
this one:
type
fancy_type(a,b,c:integer)=record
first:array [0..a,0..b] of integer;
second:array [0..a,0..b] of real;
third: array [0..c] of char;
end;
var
fancy:^fancy_type;
begin
fancy:=new(fancy,10,20,300);
How do I apply setlength to "first" and "second" after declaring the
fancy_type?
Yours, Kevan
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal