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

[REBOL] Re: True Random

From: sanghabum:aol at: 20-Aug-2001 11:23

Hi Ammon
> > > Odd that it should work like that. It seems as though if the seed
> t > > > changed the result shouldn't either.
I *think* what is happening is that /Seed and /Secure refinements are in effect mutually exclusive options. I start random sequences simply by doing (say) Random/secure 100 the 100 here isn't a seed it's the range (maximum value of the result). If I'd written: Random/seed 100 Then I get no value returned, but a seed value is set internally. The on line help on random is obscure as it does not distinguish the two possible meanings of the number As far as I can tell there is no need to (or point in) setting a seed when using /secure. But don't take that as definitive: the Core 2.5 manual fails to mention Random/secure --Colin