Hi list

I use this lingo to detect if  field contains a specify text and if so
then alert.
on checkArt
  if member("text_articles").text contains "G44" and
sprite(21).member.name = "p44b" then
    if gLang = "eng" then
      alert "OOPS!"
    end if
  end if
end

I want to do this (if the "text articles" are more then one specified
word) but how !!
on checkArt
  if member("text_articles").text contains "G44", "H55", "I66" and
sprite(21).member.name = "p44b", "p55b", "p66b" then
    if gLang = "eng" then
      alert "OOPS!"
    end if
  end if
end

Can somebody lead me in the right direction?

PS. This is af field member . DS

TIA
Tony


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to