[Lazarus] fpchmod illegal character "&"

Florian Klaempfl florian at freepascal.org
Thu Oct 15 11:02:14 CEST 2009


Paul Ishenin schrieb:
> Florian Klaempfl wrote:
>> And when you're at it: fpc trunk allows reserved works to be used as
>> identifiers by escaping them with & (as Delphi allows). This is mainly
>> needed for COM programing.
> 
> I was not able to define a property using reserved word.
> 
> Example:
> 
> TMyClass = class
> private
>   FWith: Integer;
> public
>   property &With: Integer read FWith write FWith;
> end;
> 
> 
> Although in delphi I am able to do so.

Trunk from at least Monday?




More information about the Lazarus mailing list