<p>Am 02.02.2016 13:51 schrieb "Serguei TARASSOV" <<a href="mailto:serge@arbinada.com">serge@arbinada.com</a>>:<br>
><br>
> On 02/02/2016 13:41, <a href="mailto:fpc-pascal-request@lists.freepascal.org">fpc-pascal-request@lists.freepascal.org</a> wrote:<br>
>><br>
>> Date: Tue, 02 Feb 2016 10:32:28 -0200<br>
>> From: Andreas Berger<Andreas@TheBergerClan.org><br>
>><br>
>><br>
>> On Tue 02/02/2016 09:27, Jonas Maebe wrote:<br>
>>><br>
>>> ><br>
>>> >The parameter evaluation order issue is irrelevant in this context:<br>
>>> >Delphi guarantees left-to-right (or used to anyway, this may have<br>
>>> >changed), FPC doesn't guarantee anything.<br>
>>> ><br>
>><br>
>> Wow, what's this? I never knew this. I have been using Borland products<br>
>> since TP 1.0 and for me left-to-right is automatic, I don't even think<br>
>> about it. If FPC doesn't guarantee this my code is full of potential<br>
>> problems.<br>
><br>
> You confuse left-to-right operator's precedence with function arguments evaluation.</p>
<p>No, he does not. Delphi and TP indeed guarantee an evaluation(!) from left to right.</p>
<p>Regards,<br>
Sven</p>