Yes, that was my theoretical expectation too!! But... in real C2... I just would like to write out the numbers from 2 to 12 on the screen. Sorry, maybe I don't understand the C2 programming logic. It would be realized that way with a common programming software. Please try this at home. No key press, no touch, no mouse.Strange For-Loop Behavior CAPX
... results in ... Please, note that it starts with 1 and goes to 12!! Furthermore, I'm expecting loopindex to return the numbers 2 to 12.
[QUOTE=ramones] @XManBG It does run exactly 11 times... every time you run that event. If you have it run on key press then it will loop 11 times when you press the key. If you have it running every tick then it will loop 11 times every tick.[/QUOTE] XManBG2013-03-15 07:04:34