Changing array key text

Mark Wieder ahsoftware at sonic.net
Tue Jun 25 21:39:58 EDT 2019


On 6/25/19 4:31 PM, Brian Milby via use-livecode wrote:
> Value object starts with a ref count of 1 in the array
> The first put increases the ref count to 2
> The delete takes it back to 1
> The second put takes it back to 2
> At the end of the handler it goes back to 1 since the local var goes away

Mmmmm... no...

With that logic, in my example the contents of tSubArray and limbo would 
be the same. Zero-based logic instead of one-based doesn't help either.

-- 
  Mark Wieder
  ahsoftware at gmail.com




More information about the use-livecode mailing list