[Lazarus] fpchmod illegal character "&"

Paul Ishenin ip at kmiac.ru
Thu Oct 15 09:57:44 CEST 2009


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.

Best regards,
Paul Ishenin.





More information about the Lazarus mailing list