On Mon, Oct 27, 2014 at 12:28 AM, Serge Brami <brami.se...@gmail.com> wrote:
> Each Time you delete a Line this change the index of the lines in the
> field  so you cannot do this


That's why it's done backwards.  When you delete a line, only the later
lines are affected.

So if you need to delete 3 and 5, deleting 5 moves 6-last down, and 3 is
not affected, and is in the right place for deletion.

Per a recent thread, at *some* length, it may make sense to step through
and copy (repeat for each line) rather than modify the target, as each
deletion causes a recopy from that point on of the target.


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to