[fpc-pascal] Object properties (note: object not class)

Neil Graham Lerc at screamingduck.com
Wed Aug 26 13:54:42 CEST 2009

On Wed, 2009-08-26 at 13:32 +0200, Jonas Maebe wrote:
> On 26 Aug 2009, at 13:21, Neil Graham wrote:
> > Is the absence of properties on Objects an omission by design or  
> > simply
> > because no-one has gotten to it yet?
> They are supported in fpc and in objfpc mode.
They are?  Wonderful!  [tries].  Sweet it works :-)

It didn't look like it from 


> > Similarly case statements as they appear in records are not supported.
> That's indeed not possible by design. You can always declare record  
> fields which themselves consist of a variant record.
That would do the trick it I can do

  property chicken : Integer read field.subfield;

[tries].   Yay! compiles!

More information about the fpc-pascal mailing list