VS: 2019 Community
In Delphi, the EXTENDED compilation directive (shortened as X+, and activated by default) allows to “omit” the dereferencing character (^) when using pointer types.
I’m trying to compile a Delphi code that makes massive use of pointers and I couldn’t find a similar option with Oxygene.
I was wondering if I missed something.
type TMyRecord = record A: Integer; end; PMyRecord = ^MyRecord method Test; var MyRecordVar: PMyRecord; begin MyRecordVar.A := 10; // FAIL: no member "A" on type "PMyRecord" end;