Код:
1 2 3 4 5 6 7 8 9 | procedure TForm8 . Timer1Timer(Sender: TObject);
const n= 36 ;
var mas: array [ 1.. n] of TImage; i: integer ;
begin
for i:= 1 to n do
begin
mas[i].Top:=mas[i].top+ 1 ;
if mas[i].top= 424 then mas[i].visible:= false ;
end ; end ;
|
Не понимаю,что не так:выдает ошибку класса EAccessViolation. Помогите,пожалуйста