<img src="https://dl.dropbox.com/u/1910765/array.png" border="0">
Hello. I'm having a little trouble doing what I want. As you can see in the capx, everytime you left click, a number between 1 and 9 is chosen (these numbers are inside the array), and once a number is chosen, I replace that number in the array with a 0.
What I would like to do is that if after clicking, the chosen number is a 0, tell the event to keep trying until the number is not a 0. That way when you could get all the numbers from 1 to 9 in a random order without getting a 0, until there aren't any more numbers left. Any suggestions? Thanks.