16 Dec
2003
16 Dec
'03
5:05 p.m.
Hi Folks! On Die, Dez 16, 2003 at 03:29:54 +0100, Markus Gerwinski wrote:
when declaring something like type tFoo = object ... end; Function bar ( ... ) = result: tFoo; is there a way to suppress this warning: optest.pas:53: warning: object type declared as function result type
There is no such warning if you use "pFoo": function bar (x: Integer) = result: pFoo; begin result := new (pFoo, Init) end; If that is not what you want, could you give me some code to play with? Eike -- http://www.gnushi.de