Registriert seit: 18. Mai 2008
Ort: Cottbus
53 Beiträge
|
Re: Array Zugriffsverletzung
30. Dez 2009, 14:27
Delphi-Quellcode:
procedure TMain.Button1Click(Sender: TObject);
begin
Würfel := TWürfel.Create; // Das muss noch rein
Würfel.SetPunkte(2,2,4);
Würfel.SetPunkte(2,3,3);
Label1.Caption:=IntToStr(Würfel.GetPunkte(2,2)) + IntToStr(Würfel.GetPunkte(2,3));
Würfel.free; // Das evtl. auch noch
end;
Tobias
|
|
Zitat
|