1 Reply Latest reply on Aug 4, 2008 2:24 PM by Newsgroup_User

    while issue

    ekochman
      Hi,

      I'm having some issue with nested while loops. I've copied the segments of my script that deal with the loops. I'm getting a compile error on the line marked **** saying that a handler is expected. Am I missing something from my loop declarations that makes Director think I'm done with the function?

      on startGrading
      ......
      while (i < realMusic.count())
      .......
      while (startTime - duration > recorded[currentIndex].startTime)
      ......
      end while
      ......
      ***** while (matched <> "true" AND currentIndex < recorded.size())
      ......
      end while
      end while
      end startGrading