MisterX wrote:

I'll try it. As Richard said, I imagined it would quit when the last window
was closed.

What I wrote was this quote from the docs:

    A Revolution application quits automatically when all
    its windows are closed and all waiting messages have
    been handled (including messages sent with the send
    ...in time form of the send command).

With HyperCard, SuperCard, OMO, etc., when the last window's gone it's over. The important point in that snippet is the introduction of timers to the equation, something most other xTalks don't have and which are commonly used in game development, so it seemed worth posting.

You can cancel all pending messages like this:

on KillAllPendingMessages
   repeat for each line i in the pendingMessages
     cancel (item 1 of i)
   end repeat
end KillAllPendingMessages


-- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev _______________________________________________ use-revolution mailing list [email protected] http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to