Search:

Type: Posts; User: Norm

Search: Search took 0.09 seconds.

  1. Replies
    4
    Views
    2,632

    [SOLVED] Re: Loop Breaking Not Working

    What did the print out show for the values of those variables?
    I find it hard to believe that the if you show would not be true if those were the values.
    The conclusion is either the if was not...
  2. Replies
    4
    Views
    2,632

    [SOLVED] Re: Loop Breaking Not Working

    Try debugging your code by adding print outs to see what you are comparing:

    System.out.println("months[month-1]= " + months[month-1] + ", cutMonth=" + cutMonth + "<");
Results 1 to 2 of 2