Ooops, 222 still gets deleted, so it would be better to explicitly test for duplicates than rely on the addition test therefore:


On MouseUp
put false into found
put "1,2,3" into search$
-- sort field "myList"
repeat with x = the number of lines in field "myList" down to 1
put char 1 of line x of field "mylist" into test1
put char 2 of line x of field "mylist" into test2
put char 3 of line x of field "mylist" into test3
If test1<>test2 And test1<>test3 AND test2<>test3 then
If test1 is among the items of search$ and test2 is among the items of search$ and test3 is among the items of search$ then
If found then
delete line x of field "myList"
beep
else
put true into found



end if end if end if end repeat

end MouseUp

I think that is now it!!!! (I hope)


Steve

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to