Can't access global variable outside of event handler

Printable View