[fpc-devel] Overloading standard functions
Sven Barth
pascaldragon at googlemail.com
Wed Jun 19 18:04:17 CEST 2019
Marco van de Voort <fpc at pascalprogramming.org> schrieb am Mi., 19. Juni
2019, 16:09:
> > The answer I see: none because any identifier may become "builtin",
>
> > start to hardly conflict with any declarations with the same name and
> > become PITA for code maintainer.
> >
> No, since the default is that the local declaration overrides the system
> definition.
>
> So only if you overload an RTL procedure, and then that RTL procedure is
> changed to builtin, you get in to problems.
>
> The number of builtins is low, and all recent ones were not RTL
> procedures before. At least not general ones like POS().
>
> So IMHO this goes way to far into the realm of the hypothetical, since I
> can't remember an actual case when it happened.
>
3.2 changes Insert and Delete into intrinisics due to support for dynamic
arrays.
Regards,
Sven
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190619/e2d776b8/attachment.html>
More information about the fpc-devel
mailing list