deleting lines in a field

Bob Sneidar bobsneidar at iotecdigital.com
Mon Oct 27 18:41:26 EDT 2014


I’m kind of surprised at these suggestions. Why not rather build a memory variable containing the lines that are not selected, then replace the field with the variable? Or as suggested, put the field into a memory variable, then put empty into the selected lines, then filter non-empty lines and drop it back into the field. Isn’t that more efficient for large chunks of data anyway?

Bob S


On Oct 26, 2014, at 18:24 , Dr. Hawkins <dochawk at gmail.com<mailto:dochawk at gmail.com>> 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



More information about the use-livecode mailing list