On Tue, 20 Nov 2001, Danny Epstein wrote:
> > 1 + (SysRandom(0) % 6);
>
> See:
>
> http://www.escribe.com/computing/pcpqa/index.html?by=OneThread&t=SysRandom%2
> 0and%20sysRandomMax
>
> for why this is slightly more likely to produce 1 and 2 than 3, 4, 5, or 6.

  which, is why i wrote (heck, i even posted to that thread) :P

===
  there has also been discussions here about how random SysRandom()
  really is.. you can dig up some archive threads to see the discussion.
  was around 9 to 12 months ago (maybe longer)
===

  Mon, 6 Nov 2000  <-- wow.. wasn't too far off either :P

// az
[EMAIL PROTECTED]
http://www.ardiri.com/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to