Search:

Type: Posts; User: Junky

Search: Search took 0.08 seconds.

  1. Re: help with when the for loop is met and i want to run the while loop again

    Instead of having the x==3 situation as a separate if statement, try making it another condition of your if statement as an else if.
  2. Re: help with when the for loop is met and i want to run the while loop again

    Each time the outer loop runs you want the boolean to be false otherwise it will never enter the inner for loop. Therefore as the first line of the do/while loop and a line of code to reset the...
  3. Re: help with when the for loop is met and i want to run the while loop again

    Did that work?
    Do you know what I mean by resetting the boolean?
    If the user wins the boolean becomes true, will the for loop enter the second time around?
  4. Re: help with when the for loop is met and i want to run the while loop again

    :lightbulb:

    I just realised you never reset hasWon boolean.

    --- Update ---

    WOW!

    I really hate this new update feature.
Results 1 to 4 of 4