lil help please

perkunas:
Why are you assigning false to x in the expression? == is the equality test operator, not =
Not sure what you mean, I guess it should be while(x) or while(x==true) some thing like that

Actually, (x == false) would work just fine too. Every time you run (x = false), you're setting x equal to false, not checking to see whether or not it is, in fact, false. So you're basically saying "Just keep doing this all the time because it's always going to be time to do it." Using (x == false) actually checks the truthity or falsitude of x, then does stuff between the braces only when the falsitude is confirmed.