<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace">I have this function:</div><div class="gmail_default" style="font-family:courier new,monospace"><br></div><div class="gmail_default" style="font-family:courier new,monospace">
function Compare(v1, v2: Integer): Integer;</div><div class="gmail_default" style="font-family:courier new,monospace"><br></div><div class="gmail_default" style="font-family:courier new,monospace">And called like this:</div>
<div class="gmail_default" style="font-family:courier new,monospace"><br></div><div class="gmail_default" style="font-family:courier new,monospace">Result := Compare(stack.Pop, stack.Pop);</div><div class="gmail_default" style="font-family:courier new,monospace">
<br></div><div class="gmail_default" style="font-family:courier new,monospace">The behavior is that the second Pop is evaluated first, thus reversed the meaning of the function.</div><div class="gmail_default" style="font-family:courier new,monospace">
<br></div><div class="gmail_default" style="font-family:courier new,monospace">Is it true that all parameter evaluation goes from right to left?</div><div class="gmail_default" style="font-family:courier new,monospace"><br>
</div><div class="gmail_default" style="font-family:courier new,monospace">Thanks!</div><div class="gmail_default" style="font-family:courier new,monospace">Xiangrong</div></div>