Hi
I got 10 variable of the type Tbitmap; named bitmap1, bitmap2 .. .. bitmap10;
For initiating i want to apply the same procedure 10 times, rather than repeating myself 10 times I would like to have it in some sort of loop
e.g.
for ii:=1 to 10 do begin
(bitmap ii).free
end;
this of course doesn't work, but what will ?
I got 10 variable of the type Tbitmap; named bitmap1, bitmap2 .. .. bitmap10;
For initiating i want to apply the same procedure 10 times, rather than repeating myself 10 times I would like to have it in some sort of loop
e.g.
for ii:=1 to 10 do begin
(bitmap ii).free
end;
this of course doesn't work, but what will ?