Hi all,

How does one automatically run a handler each time a handler/function within 
the current script is run?

I'm looking for a proper/non-clumsy way of implementing the following:

----------------
private command doSomeStuff
   -- stuff that must be done each time _any_
   -- handler/function within this script is called
end doSomeStuff

on hello
   doSomeStuff
   put "hello world"
end hello

on another_handler
   doSomeStuff
   put "testing"
end another_handler

function some_function
   doSomeStuff
   return "something"
end some_function
----------------


Thanks in advance for any insight.

Lyn




_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to