Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Using 'random and 'random/seed

From: reboler:programmer at: 22-Aug-2002 14:46

Could someone expound on 'random, please? I would expect that if I entered ... random/seed "qwert" ... that I would nothing back from the console, since I am just providing a seed to the PRNG. I would also expect that if I entered... random/seed "qwert" r1: random "asdfg" random/seed "qwert" r2: random "asdfg" ... that r1 would equal r2. Is there a way to get 'random to produce identical "random" sequences on demand?