in reply to Re: Auto-increment behaviour, is this normal and why?
in thread Auto-increment behaviour, is this normal and why?
Thank you for your answer.
So if understand what you expressed by "the print is a separate statement", the process is executing the following steps:
1. it tests the if condition
2. it incréments
3. it prints only if (1)
All right, I was misunderstanding the time sequence when the increment applies with the if modifier (I still prefer it, it's shorter, I just need to learn to control it).
Thank you again very much.Gilles.
|
|---|