Execution order
Kenneth Brody
kenbrody at spamcop.net
Mon Mar 24 10:10:17 PDT 2014
On 3/24/2014 12:44 PM, Jay Ashworth wrote:
> Filepro doesn't do any optimizations that break execution order,
> right?
>
> ::ns=ctl(1); ctl(1)=ns+"1":
>
> is going to do what I so clearly expect, right?
You will always end up with ns being the current value of ctl(1), and then
ctl(1) will be incremented -- the C equivalent of "ns = ctl[1]++;".
Assuming that that's what you expect, then yes, it will do what you expect. :-)
Any optimizer that would change that would be "broken".
--
Kenneth Brody
More information about the Filepro-list
mailing list