sgs_SetGlobal [function]
SGSBOOL sgs_SetGlobal( sgs_Context* C, sgs_Variable idx, sgs_Variable val )
Set global variable idx to val.
- When setting
_G(environment superglobal),valmust be ofdict/maptype or the function will fail.
