randomSeed maximum length

Mark Waddingham mark at livecode.com
Thu Sep 9 03:38:33 EDT 2021


On 2021-09-09 08:25, scott--- via use-livecode wrote:
> Does the randomSeed have a maximum length?
> 
> Meaning, if the length of the provided number exceeds the maximum
> length, does the provided number get truncated or dismissed or… ?

Its a signed 32-bit integer - so range is -2147483648 to 2147483647.

Numbers outside of this appear to end up setting it to -2147483648.

Warmest Regards,

Mark.

-- 
Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps




More information about the use-livecode mailing list