Contents
Syntax
The syntax for
lua_setglobal(string)
@lua_setglobal(string)
Description
The
f++ example
Example of
lua_pushstring("hello, world!") lua_setglobal("str") lua { print(str) }
n++ example
Example of
@lua_pushstring("hello, world!") @lua_setglobal("str") @lua { print(str) }