Handler keeps running after Exit To Top

Shari shari at gypsyware.com
Sun Oct 2 14:11:52 CDT 2005


Why would the "Error: Tell Gypsy King..." message ever appear in this 
handler?  For some reason it just did, and I cannot even guess the 
why of it.  Doesn't exit to top guarantee the stoppage of all 
handlers/statements that follow?

Metacard 2.4.3
Mac OSX 10.2.8

   if x is 8 then
     hide cd btn "active"
     put 1 into gDoor
     if "turnkey" is not in pendingMessages() then
       send turnkey to cd "Keyhole" in 1 millisecond
     end if
     exit to top
     answer "Error:  Tell Gypsy King that the handler did not stop."
     exit currentHandler
   end if

-- 
Mac and Windows shareware games
http://www.gypsyware.com


More information about the metacard mailing list