on mouseup
  global status
 
  destination =(the text of field "from" & the text of field "to")
        if destination = "dubaisalalah" or destination = "salalahbombay" or
destination = "bombaysalalah" then
          status=TRUE
        put status
        go destination
        else
        status=FALSE
          put "error"
      end if
end
 
better make a case or a list for the destinations..

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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