Registriert seit: 1. Feb 2018
3.691 Beiträge
Delphi 11 Alexandria
|
AW: Konstruktor-Aufruf "Too many actual parameters" - warum?
13. Jul 2023, 15:19
Delphi-Quellcode:
procedure TForm4.FormCreate(Sender: TObject);
var
test: TMyClass;
begin
test := TMyClass.Create(2.0, 4);
try
finally
test.Free;
end;
test := TMyClass.Create(22.33);
try
finally
test.Free;
end;
test := TMyClass.Create();
try
finally
test.Free;
end;
end;
Keine Probleme in Turbo Delphi 2005.
|