hilitedline

larry at significantplanet.org larry at significantplanet.org
Sun Oct 26 04:58:35 EDT 2014


I have the following script in a button:

on mouseUp

put the hilitedline of field "mySelects" into myDelete

repeat for each item L in myDelete

delete line L of field "mySelects"

end repeat

end mouseUp



If the hilitedlines of the field are, say, 1,4,7  then it will delete lines 1 and 4, but not 7.  It always deletes all but the last line.  Why?

Thanks, Larry



More information about the use-livecode mailing list