> On 6 Nov. 2016, at 1:31 pm, Mark Wieder <ahsoftw...@sonic.net> wrote: > > When new stacks are created in memory they are assigned the id 1002. > Why? > If there's a stack already in memory why not create the new stack with the > next sequential id? > Then the combination of id and filename should uniquely identify a stack.
Stack IDs aren’t really IDs at all they are just the max ID in a stack + 1. The first 1000 IDs are reserved. Card 1 is 1001 and therefore a new stack ID is 1002. Create a new object and the ID changes. I guess we will discuss UUIDs next ;-) Cheers Monte _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode