The while loop is pretty simple. If the expression results in any non-zero value, it will continue. If it results in zero, then it will end. Thats all there is to it. There are no doubtful exceptions. If its zero, it stops, period.
The while loop is pretty simple. If the expression results in any non-zero value, it will continue. If it results in zero, then it will end. Thats all there is to it. There are no doubtful exceptions. If its zero, it stops, period.
Don't forget you can also use break; to end the loop
"I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe
http://www.Bloodware.net - Developing free software for the community.