Global Functions?
Posted: Wed Feb 26, 2014 5:56 am
Is there any way to set a function as "global" so that it can be called from any handler in the same stack or subsequent substacks in similar fashion as global variables?
There are other ways of doing a similar thing, but this would be very useful since I'd rather not change it to an "on ..." or need to copy the same code to every handler of my program in order to use the function, and sending the function's name and parameters (as a message) just gives errors.
If it's not possible, then I'll just find a different way to make it work.
There are other ways of doing a similar thing, but this would be very useful since I'd rather not change it to an "on ..." or need to copy the same code to every handler of my program in order to use the function, and sending the function's name and parameters (as a message) just gives errors.
If it's not possible, then I'll just find a different way to make it work.