Ryan Joseph <r...@thealchemistguild.com> schrieb am Do., 7. Juni 2018,
03:32:

>
>
> > 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.
>

>From what I know no one of the team is interested in this (me included) so
even if you'd do a feature request it would sit there forever. So no, there
is no way to fix it.

Regards,
Sven

>
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to