> On Jun 7, 2018, at 4:25 AM, Sven Barth via fpc-pascal > <fpc-pascal@lists.freepascal.org> wrote: > > However you can't do that with indexed properties (which is the feature that > Ryan meant) as the value returned by the property getter is merely a copy and > not a reference. >
Is there anyway to fix this btw or can I make a feature request? Pascal doesn’t have any concept of a “var result” so we kind of locked ourselves out of references for return result types, unlike C++’s & which can be used for function return results or parameters. Regards, Ryan Joseph _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal