[fpc-pascal] Constant object

Michael Müller mueller_michael at nikocity.de
Tue May 2 08:07:01 CEST 2006


How can I declare a constant object?

var
  MyTest: TObject;
begin
  MyTest := TObject.Create;
end.

works (for sure).

How can I declare 'const'?

Thanks

Michael



More information about the fpc-pascal mailing list