On Mon, Oct 12, 2015 at 4:01 PM, Marco van de Voort <mar...@stack.nl> wrote:

> (ifthen clashes name with the delphi functions of the same name in a much
> used unit as math, the name should be different but the intrinsic principle
> IMHO is best)
>
But they're inline functions. Thus when inline-d into the code, they're
acting as intrinsic.

Also, even if they're not inlined, the existing code would break, because
use of "Math" comes after use of "system". Thus Math's IfThen() would be
used instead of system intrinsic.

The same applies for any other user's variants of IfThen that could have
been written.

thanks,
Dmitry
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to