Reverse a list

Geoff Canyon gcanyon at gmail.com
Tue Feb 17 12:01:58 EST 2015


On Tue, Feb 17, 2015 at 11:55 AM, Dr. Hawkins <dochawk at gmail.com> wrote:

> Won't this be orders of magnitude slower?
>

Yes.

Given that you have access to lines, items, and words, if possible it would
be better to set the outer loop to work on lines, and then do whatever you
like with items within the loop.

Or take the hit and split the list before looping, and then index through
the array.

Or, as you say, be very careful with the item delimiter.



More information about the use-livecode mailing list