[fpc-devel] Overloading standard functions

Marco van de Voort fpc at pascalprogramming.org
Wed Jun 19 14:00:58 CEST 2019


Op 2019-06-19 om 13:46 schreef Виктор Матузенко:
>
> Pos behaves differently than Length and Copy.
> Seems inconsistent -- should it be considered as a bug?
>

Afaik:

- Copy and length are builtins, pos is a function. builtin+function is 
not "true" overloading since both are not the same kind.

- And functions should get the overload; directive for cross unit 
overloading



More information about the fpc-devel mailing list