You raise an important issue. To program effectively in Revolution, you really need to understand the message-passing hierarchy. Nobody has explained it better than Richard Gaskin at:

http://www.fourthworld.com/embassy/articles/revolution_message_path.html

There is no concept of global handlers. If you want a handler to be accessible to all the message handlers in a given stack file, just put it in the mainstack. If you want it available across multiple stack files, you'll need to create it as its own mainstack and then include it by making it a library with "start using."

HTH

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dan Shafer, Co-Chair
RevConWest '05
June 17-18, 2005, Monterey, California
http://www.altuit.com/webs/altuit/RevConWest

On Jun 1, 2005, at 3:31 PM, Jon wrote:

I want to write some utility routines that can be used by lots of message handlers. Where do I put those utility routines so that the event handlers can "see" the utility routines? Do I have to declare them as Global, or just put them in a particular place?

Thanks!

Jon
_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution



_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to