[Newbies] Re: Generating a predictable 'atRandom' result for testing

Hilaire Fernandes hilaire at ofset.org
Mon Aug 13 07:19:09 UTC 2007


John Almberg a écrit :
> This sounds promising. I'll give it a whirl tomorrow. Thanks!
> 
> -- John
> 
>>     generatorOne := Random new seed: 1000.
>>     a := 100 atRandom: generatorOne.
>>


This is indeed the way to go. I have being using it to generate 
repeatable random sequences.

Hilaire



More information about the Beginners mailing list