randomSeed maximum length
scott at elementarysoftware.com
scott at elementarysoftware.com
Thu Sep 9 03:53:36 EDT 2021
Thank you, Mark. That confirms the issue (and workaround) I was having when using the millisec to set the randomSeed.
--
Scott Morrow
Elementary Software
(Now with 20% less chalk dust!)
web https://elementarysoftware.com/
email scott at elementarysoftware.com
booth 1-360-734-4701
------------------------------------------------------
> On Sep 9, 2021, at 12:38 AM, Mark Waddingham via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> 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