[fpc-pascal] with in classes/records
ryan at thealchemistguild.com
Thu Oct 4 14:25:32 CEST 2018
> On Sep 26, 2018, at 1:14 AM, Benito van der Zander <benito at benibela.de> wrote:
> perhaps everything would be clearer, if the default property was accessed with ^ ?
> wrapper: TWrapper;
> wrapper := TWrapper.Create;
> wrapper^ := THelperA.Create;
Sorry, back to working on this today.
That’s an idea. Probably the other way around though since initializing the class is the less common operation. The compiler team is busy I guess because I haven’t got any answers recently on questions. I suspect appropriating the ^ symbol will not be ok with them since it has another reserved meaning.
More information about the fpc-pascal