I see that you must have noticed that your random number function was only producing numbers from 1 to 8, and so bumped the second parameter to 10.
The other way to fix that would have been to use...
Type: Posts; User: iMalc
I see that you must have noticed that your random number function was only producing numbers from 1 to 8, and so bumped the second parameter to 10.
The other way to fix that would have been to use...
Sorry, I was trying not to pick on you.
It's just one eventually reaches the point where it feels like it's time to say something.
Oh and hey, feel free to post updated code if you'd like to...
That's understating it a little.
Calling it more than once, such as in the manner seen here, is harmful to your ability to actually get random numbers. You could easily get the same three values...