Well basically because OR is a boolean operation and doesn't understand
"multiple iterative parameterization" (fancy word for what you are trying to
give it), if I understand what you are trying to get at.  Try this instead:

--IN Movie Script
on startMovie
global gListStorage, gListStorage1
  gListStorage = ["scn 1a", "scn 2a"]
  gListStorage1 = ["scn 1b", "scn 2b"]
end
----Where gFrameClips = ["scn 1a", "scn 2a"]
on mouseUP
if ((gListStorage = gFrameClips) OR (gListStorage1 = gFrameClips)) then
    go "scn 3a"
  else if ((gListStorage1 = gFrameClips1) OR (gListStorage = gFrameClips1))
then
    go "scn 3b"
  end if
end

Hope that helps,

Ike Eisenhauer


-----Original Message-----
Hi All,

I am comparing Multiple lists with one list with the OR statement. For
somereason it does not work. When there is no OR statement it works.
What am i doing wrong.

ravi


--IN Movie Script
on startMovie
global gListStorage, gListStorage1
  gListStorage = ["scn 1a", "scn 2a"]
  gListStorage1 = ["scn 1b", "scn 2b"]
end
----Where gFrameClips = ["scn 1a", "scn 2a"]
on mouseUP
if (gListStorage OR gListStorage1) = gFrameClips then
    go "scn 3a"
  else if (gListStorage1 OR gListStorage) = gFrameClips1 then
    go "scn 3b"
  end if
end



[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