Sorry, I should have been more precise. What I was emphasising was that $x-- was still 4 (as it returned the previous value), not that it didn't occur before the division.
Thanks for pointing out the pointers {g}. I understood the refference passing, I was just getting hung up on left to right evaluation as if it were a stream; not the line completely evaluated, then all the pointer calls.
In reply to Re: Re: Re: Re: Re: Re: For loop problem
by Arguile
in thread For loop problem
by srawls
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |