API setglobal

Sets the value of a named global variable. Deprecated, use the global table _G instead: setglobal(globalKey, newValue) _G[globalKey] = newValue

Arguments

 * globalName : Any - "Name" of the global you want to change.
 * newValue : Any - Value you want to set the global to.