This comment has been minimized.
This comment has been minimized.Show comment Hide comment
It is because it finished that cycle of the for loop after i was already 4, thus it iterated i. It then found that the "!parm" condition was no longer met, then broke out of the loop.
If you wanted to break out of the loop as soon as i == 4, you should use a break statement, "break;" to exit out of the for loop. Place "break;" on the next line after "parm = true;" to see the results.