GLOBAL GLOBAL Global Variables Usage Global variables are shared variables that can be seen and modified from any function or script that declares them. The syntax for the global statement is global variable_1 variable_2 ... The global statement must occur before the variables appear.