Wow, this parses:
Wow, this parses:
property DepartmentName: string index 0 string read GetCustomDataX;
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.
property DepartmentName: string index 0 string read GetCustomDataX;
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.
Looks like it ignores quite a few keywords in there ;)
ReplyDeleteThis compiles (I did not look for every possible keyword, so I guess there are a couple more):
property DepartmentName: string index 0 program library uses unit interface string class read GetCustomDataX;
CONTEST is open:
ReplyDeleteMy entry:
property Foo: string index 0 unit if library uses unit do not inline file else raise object if is nil read GetFoo;
QC added
ReplyDeletequality.embarcadero.com - Log in - Embarcadero Technologies
Oh no, please don't fix this bug, it is great for code obfuscation ;-)
ReplyDeleteCan you mix types in the same declaration? I.e string and integer?
ReplyDelete