First time here? Check out the FAQ!
answered 2015-05-11 13:34:23 -0600
Before you refer to a variable with global it must exist. Therefore, assign a value to it right after the imports.
global