Garbage collection (crashing on Windows)

Mark Talluto mark at canelasoftware.com
Sat Aug 20 11:28:32 EDT 2016


Split would works for simple data sets. This made up example would support split just fine.
 
> On Aug 19, 2016, at 8:29 PM, Monte Goulding <monte at appisle.net> wrote:
> 
> Mark you could use the split command here if you don’t mind numerically indexed arrays.
> 
>> On 20 Aug 2016, at 9:07 AM, Mark Talluto <mark at canelasoftware.com> wrote:
>> 
>> command createArray
>>    local tListOfRecordIDs, tTableID
>> 
>>    put fld "recordID data" into tListOfRecordIDs
>>    put uuid() into tTableID
>> 
>>    --FOUND IT FASTER TO WALK THROUGH LONG LISTS
>>    --WHEN WE PUT THEM IN AN ARRAY LIKE THIS
>>    --ONCE THE ARRAY IS MADE, IT WILL BE USED MANY TIMES OVER
>>    --NEGATING THE COST OF MAKING THIS ARRAY
>>    repeat for each line xRecordID in tListOfRecordIDs
>>         put empty into tArrayA[tTableID][xRecordID]
>>    end repeat
>> 
>>    processArray tArrayA
>> end createArray
> 
> _______________________________________________
> 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