[squeak-dev] Bad value for Random seed ?

Stéphane Rollandin lecteur at zogotounga.net
Sun Sep 21 16:01:09 UTC 2014


Actually it looks like using smallish values for seed is a problem too:

((1 to: 1000) collect: [:n | (Random seed: 1000 atRandom) nextInt: 10]) 
asSet

gives

a Set(1)


Stef


More information about the Squeak-dev mailing list