
Zitat von
Nicole:
Delphi-Quellcode:
// ...
initialization
randomize;
ball:=tball.create;
// und noch Ball2
ball2:=tball.create;
finalization
ball.destroy;
ball2.destroy; // <--<<<
end.
is das so erstmal okay?
undd ann muss ich ja den zweiten ball noch programmieren und ich möcht wissen,an welcher stelle die anweisungen dafür müssen?
Nicht so wirklich, Ball 2 muss ja auch erst einmal erzeuge werden oder ?