Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everyone,
Could someone clarify the necessity of maintaining a global variable to reference all event handlers?
I've noticed that all sample programs implement this practice. However, as I'm learning scripting, I haven't encountered any situations where it seems necessary, so I've been writing code without it. Am I overlooking something, or are there specific cases where this would be essential?
# Global variable used to maintain a reference to all event handlers.
handlers = []
Solved! Go to Solution.