I\'m working with several functions which need to pass a variable back and forth. Should I use a global variable or another method instead? I would also appreciate an exampl
Avoid global variables, it's bad programming. Try pass it as an argument or use name spacing to restrict its scope.