in reply to post-increment/pre-increment blues
| 2 | $i == 1 | 1+1 | |
| 2 | $i == 2, | 1+1 | |
| 5 | $i == 3 | 3+2, | tricky, post-- precedence |
| 10 | $i == 5 | 5+5, | It's not what I expected. |
| 14 | $i == 7 | 7+6+1, | nor this |
| Apparantly pre-increment returns an alias. |
++wil, you taught me something :)
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: post-increment/pre-increment blues
by paul (Initiate) on Jul 20, 2002 at 01:35 UTC |