Garbage collection (crashing on Windows)
Monte Goulding
monte at appisle.net
Fri Aug 19 23:29:30 EDT 2016
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
More information about the use-livecode
mailing list