6 lines
118 B
Lua
6 lines
118 B
Lua
|
s = State()
|
||
|
s:eval([[ y = 5; print(x); print(y); ]])
|
||
|
s:set("x", 10)
|
||
|
s:set("y", nil)
|
||
|
s:eval([[ print(x); print(y); ]])
|