[fpc-pascal] Dynamic arrays using management operators

Sven Barth pascaldragon at googlemail.com
Thu Jun 7 07:49:16 CEST 2018


Ryan Joseph <ryan at 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 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.
>

>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

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20180607/e1c480fe/attachment.html>


More information about the fpc-pascal mailing list