[fpc-devel] lone property

Marco van de Voort marcov at stack.nl
Tue Jun 23 12:27:49 CEST 2009


In our previous episode, Micha Nelissen said:
> Marco van de Voort wrote:
> > type
> >     myclass = class
> >                 property doit : integer;
> >                 end;
> > 
> > Does sb know this, and is this a feature? And if so, should delphi mode
> > accept it ? 
> 
> What kind of code does fpc generate when you reference it? :-) I guess 
> you will get a compiler error when referencing it?

Yes, a decent and clear one even:

dotest2.dpr(11,17) Error: No member is provided to access property



More information about the fpc-devel mailing list