Resetting ids

Bob Sneidar bobsneidar at iotecdigital.com
Fri Sep 27 14:37:47 EDT 2024


that being the case, if it were possible to set the ID of a stack to 1000, it ought to start over. 

Bob S


> On Sep 27, 2024, at 10:54 AM, Tom Glod via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> I've wondered about this for years....
> But thinking about it the unsigned 32 bit limit is over 4 billion ......
> so you are  0.0093% of the way to the limit
> The new limit is probably 64 bit.
> Probably what happens when u hit the limit is it rolls over and starts at 0
> or 1000 like a new stack, and then searches for the nearest unused id.
> I'm at the 2.5 millions when i create a new id in my master stack.
> Interesting to think about, but nothing to fear.
> 
> 
> 
> On Fri, Sep 27, 2024 at 4:26 AM jbv via use-livecode <
> use-livecode at lists.runrev.com> wrote:
> 
>> Hi list,
>> 
>> I have a script that creates various controls on the fly
>> and then groups some of them for a rather sophisticated layout.
>> As I had to make many tests, modify my script many times
>> and save the stack each time, the ids of the controls now
>> reach astronomical values (above 400000).
>> Is there a way to reset the ids to minimum values before
>> building the final standalone, or will they be reset
>> automatically when the standalone is built ?
>> My fear is that, when running the standalone, new created
>> controls ids will get even greater values and might
>> finally reach a maximum...
>> 
>> Thank you in advance.
>> jbv
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list