[fpc-devel] Defenition of destructor behind property

Hans-Peter Diettrich DrDiettrich1 at aol.com
Sun Jun 12 02:31:55 CEST 2011

Marco van de Voort schrieb:
> In our previous episode, Hans-Peter Diettrich said:
>>>     property Onderdelen: TXMLDocument read GetOnderdelen;
>>>     destructor Destroy; override;
>>>   end;
>>> Note the 'destructor' behind the property definition. Isn't this a bug?
>> Not really. The only strong (syntactical) order requirement exists for 
>> fields, which can occur only at the begin of a visibility section.
> For ordinary fields maybe. Union  (case... of) fields must be at the end.

This is not a strong requirement, because "case" is the keyword for such 


More information about the fpc-devel mailing list