type
name_struct= record
fname: string;
lname : string;
end;
arec= record
names : array of name_struct ;
age: array of integer;
end;
type
records = array of arec;
setlength(records,100);
for x :=0 to 99 do
load each records[x]
When I do
records:=Nil, does it free all "names" (and fname, lname) of all recs as well as the recods array itself?