1
vote
Vote UpVote

Wow, this parses in Delphi: `property Foo: string index 0 string read GetFoo;`

The Wiert Corner – Quite a few interesting entries got posted after I published this compiler glitch: Wow, this parses: property Foo: string index 0 string read GetFoo; Note the extra “string”. Found this in an old piece of code so it must have been uncaught by the compiler for quite a while. – Jeroen Wiert Pluimers – Google+ Some: property DepartmentName: string index 0 program library uses unit interface string class read GetCustomDataX; property Foo: string index 0 unit if library uses unit do not inline file else raise object if is nil read GetFoo; –jeroenFiled under: Delphi, ...
Favorite? Off-Topic? jpluimers @ 2017-05-18 13:04

Statistics

Visits: 595
Votes: 1
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)