repeat xNumberOfTimes
      global doCancelVariable

      -- My Code Here

      wait 1 tick with messages
      if doCancelVariable = "true" then
         exit to top
      end if
   end repeat

Maybe I'm missing your point, but why not just write:


global doCancelVariable

repeat until doCancelVariable = "true"

      -- My Code Here

   end repeat

Paul Gabel


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to