when is an integer not an integer?

Terry Judd tsj at unimelb.edu.au
Wed Jul 30 02:01:14 EDT 2008

Looks like it maxes out at (2^31)-1


On 30/7/08 3:39 PM, "John Vokey" <vokey at uleth.ca> wrote:

> The statement: set the randomseed to x is not consistent.  In both the
> Rev and MC documentation, x must be an integer.  So, for example, set
> the randomseed to the seconds works in the sense that a new and
> different sequence is subsequently generated by random and any
> statements.  But set the randomseed to the ticks, or set the
> randomseed to the milliseconds, both fail in that the same sequence is
> generated every time.  Yet, each of the ticks/the milliseconds/the
> seconds is an integer return true.  It appears clear that the
> randomseed property requires small integers (on the order of the
> seconds).  But, it is still the case that even though the ticks is an
> integer, is is too large of an integer for the randomseed property.
> --
> Please avoid sending me Word or PowerPoint attachments.
> See <http://www.gnu.org/philosophy/no-word-attachments.html>
> -Dr. John R. Vokey
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

Dr Terry Judd
Lecturer in Educational Technology (Design)
Biomedical Multimedia Unit
Faculty of Medicine, Dentistry & Health Sciences
The University of Melbourne
Parkville VIC 3052

61-3 8344 0187

More information about the use-livecode mailing list