[fpc-pascal] Dynamic arrays using management operators
Ryan Joseph
ryan at thealchemistguild.com
Thu Jun 7 03:02:07 CEST 2018
> On Jun 7, 2018, at 4:25 AM, Sven Barth via fpc-pascal <fpc-pascal at 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
More information about the fpc-pascal
mailing list