Search:

Type: Posts; User: Norm

Search: Search took 0.09 seconds.

  1. Replies
    5
    Views
    2,704

    [SOLVED] Re: My program skipping a for loop

    When the code is not doing what you expect, add some println statements to the code to see what the values are the program is working with.
  2. Replies
    5
    Views
    2,704

    [SOLVED] Re: My program skipping a for loop

    What are the values used to define the world array? Print those out to be sure they are not 0
  3. Replies
    5
    Views
    2,704

    [SOLVED] Re: My program skipping a for loop

    The reason a for loop would not execute the code inside of it is that the continue condition is not true.
    Print out the values of the variables used in the for loop to see what they are.
    Add a call...
Results 1 to 3 of 3