PDA

View Full Version : Random



ruijc
- 16th March 2011, 12:49
Greetings,

I'm trying to make a bit of code to produce a random number between 0 and 9.

I've seen some discussions here about this pseudo-random but i have some questions.

1- when executing the "random var" command, will it generate values until the next line of code? or... when it will stop generating numbers ?

2- Is it possible to keep it generating numbers in the background and call the variable at some point of the code to check the value at that specific time ?

Thanks