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.


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to