If you want to simply access a global variable you just use its name. However to change its value you ...
stackoverflow.com