Contents
Syntax
The syntax for
lua_getglobal(string)
@lua_getglobal(string)
Description
The
f++ example
Example of
lua { x = 10 } lua_getglobal("x") console(lua_tonumber(1))
n++ example
Example of
@lua { x = 10 } @lua_getglobal("x") @console(@lua_tonumber(1))