Sorry, no way to tell what the ... code is doing.
With multiple conditions connected by OR (||), only one needs be true.
Type: Posts; User: Norm
Sorry, no way to tell what the ... code is doing.
With multiple conditions connected by OR (||), only one needs be true.
Use println() statements to print out the values of the variables that keep the code looping.
Try it and see what happens.
The technique I use is adding println() statements to print out the values of variables used by the code to see how they change. If you understand how the program is supposed to work, the display of...
How are you working on understanding what the code does when it executes so you can find the problem.
How are you trying to debug the code?
That is very ugly code. Its impossible to read with the short, non-descriptive variable names and the hardcoded magic numbers.
It looks like there should have been a array to hold the values like...