Run a handler each time a handler/function within current script is run?
Lyn Teyla
lyn.teyla at gmail.com
Thu Feb 12 00:55:12 EST 2015
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
More information about the use-livecode
mailing list