[lazarus] Stange error message
Marc.Weustink at cuperus.nl
Thu Jun 22 11:43:04 EDT 2000
+ From: Robert Scott Horning [mailto:roberth at ise-tlx.com]
+ I'm kinda curious about this construct. In Delphi, when you
+ declare something
+ TMyControl = class(TControl);
+ this is a forward class reference, so you can use a reference
+ to a class that hasn't been defined yet.
Nope. A forward declaration is
TMyControl = class;
+ All of these objects have all of the properties and methods
+ of the Exception class (which is a TObject decedent), but
+ there is no need for defining any additional properties
+ or methods (even though you COULD if you really wanted
Thats what i wanted.
But the funny thing is the fpc compiler doesnt complain about this. It looks
like it treats your whole implementation as classmembers, and complains that
you can't create vars.
Im working on a example to verify what I think.
More information about the Lazarus