I want to use the iteration counter to initialise a value on the first loop of a while statement. ie i = 0, x = 100. Fine. The application I am building will be left to run for weeks or months on end without stopping (hopefully :¬)). What happens to the iteration counter in this situation? Does it reset to 0 or what? I don't want it reinitialising any values while the loop is running other than when it starts.
I set up a while loop to try to figure out what happens and the iteration counter stops at 2147483648 which is 2^31 - 1.
Any help would be appreciated,
Thanks,
Niel.