Each Time you delete a Line this change the index of the lines in the field so you cannot do this Best way : repeat with i = the number of words in theLins down to 1 > > Put empty into line (word i of theLins) of theData > end repeat Filter thelins without empty
Email par IPhone de Dr Serge BRAMI > Le 27 oct. 2014 à 02:24, Dr. Hawkins <[email protected]> a écrit : > > Once you have the lines in variable theLins > > repeat with i = the number of words in theLins down to 1 > delete line (word i of theLins) of theData > end repeat > >> On Sun, Oct 26, 2014 at 2:10 AM, <[email protected]> wrote: >> >> I have a field that allows non-contiguous selection of lines >> >> What is the easiest way to delete the selected lines? >> >> I've tried a bunch of things and I end up doing this big convoluted script >> to do it. It seems like it should be simple? >> >> Thanks, Larry >> _______________________________________________ >> use-livecode mailing list >> [email protected] >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
