posted 17 years ago
what you can do it put some println statement inside the loop, to print whatever the variable is you use in your condition. check to make sure you really are changing it, or that the logic that would change it is correct.
if you are still stuck, feel free to post the code here.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors