Getting a Random Seed for the Random Number Generator

Eric Chatonet eric.chatonet at
Fri Dec 8 12:57:56 EST 2006

Hi Dar,

Setting the randomSeed to the seconds is really clever ;-)
As for me, and I apologize, I had not read Dave's question correctly...

Le 8 déc. 06 à 18:51, Dar Scott a écrit :

> On Dec 8, 2006, at 6:33 AM, Dave wrote:
>> Anyone have any tricks for generating a random seed in RunRev?
> If you just want to set the randomSeed for something like the start  
> of a game, then use the milliseconds.  IIRC, on one OS, I forgot  
> which, you have to modify that to make sure it is in the right range.
> Unless you have some special need, your game will be fine with the  
> initial value set by Revolution or any value left by the previous  
> game depending on when the game starts.
> If you need better random bits, just ask!
> Dar

Best Regards from Paris,
Eric Chatonet
----------------------    eric.chatonet at

More information about the Use-livecode mailing list