What you are talking about is a global variable. Global variables cause
disease, famine, and war, not to mention really badly designed,
impossible-to-debug software. The first rule of software engineering is
modularize and never use global variables. The first two rules of
software engineering ...
"Nobody expects the Spanish Inquisition!"
Monty Python's Flying Circus