when is an integer not an integer?

Mark Smith lists at futilism.com
Wed Jul 30 06:18:53 EDT 2008


Yes, seems like 'integer' in this case means 4 byte signed integer.

Best,

Mark

On 30 Jul 2008, at 06:39, John Vokey 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




More information about the use-livecode mailing list