realbasic-nug
[Top] [All Lists]

random seed generator?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: random seed generator?
From: Michael <mdeh at comcast dot net>
Date: Wed, 29 Nov 2006 13:15:04 -0800
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Sorry if this brings peals of laughter, but I am trying to seed a random instance using this.

  const maxI = 2147483647
  const minus_maxI=-2147483648

  r.Seed=r.InRange(minus_maxI, maxI)

r.Seed is always the same // -2147484e+9

Any suggestions?  :-)

thanks

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>