I am trying to write a program that gets rid of all of the colors with numbers in their names and then puts them into a field. I am running into problems with line 4. Any suggestions?
on mouseup
global choice
put colorNames() into choice
repeat for each line in choice
if tcolor1 contains "1" || "2" then
delete tcolor1 from choice
end if
end repeat
put choice into fld "color list"
end mouseup