Reverse a list
dochawk at gmail.com
Mon Feb 16 21:05:56 EST 2015
On Mon, Feb 16, 2015 at 3:08 PM, Alex Tweedly <alex at tweedly.net> wrote:
> That's not quite correct. It doesn't do a single initial complete scan of
> the whole variable and keep all the pointers. What it does is (more like)
> keep track of how far it has currently processed, and then when it needs
> the next line, it scans from that remembered position forward until the
> next CR - and then remembers that as the current position.
And if you repeat for each item, and change the itemDel in the loop, you
had *better* remember to change it back before end repeat, or very strange
things happen . . .
Dr. Richard E. Hawkins, Esq.
More information about the Use-livecode