Am 09.10.2015 23:11 schrieb "Dmitry Boyarintsev" <skalogryz.li...@gmail.com
>:
>
> On Fri, Oct 9, 2015 at 5:04 PM, Sven Barth <pascaldra...@googlemail.com>
wrote:
>>
>> Yes a compiler intrinsic could handle that. In the end all three
syntaxes are the same code representation anyway: namely an if-node.
>> The IfThen() intrinsic would be fine with me as well. Let's call this
our common ground ;)
>
> I wonder if replacing Ifthen() inline function, with a common intrinsic
keeps the compatibility.

One could force the correct behavior, because the intrinsic is in System
while the inline function AFAIK isn't. Thus one could prefix the unit name
if needed.

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

Reply via email to