does not change in any way the scalar referred to by $flip, while "++$flip" does.$flip + 1;
Yes, turnstep, of course the preincrement modifies $flip.
The question at issue is, "Why do we care about modifying a variable twice?" Simple as that.
Go back and read the post and respond to the actual issue, please.
Russ
In reply to RE:(4) Flipper (++ instead of += 1)
by Russ
in thread Flipper
by Russ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |