Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #32 // A test for "load" (Lua's version of eval)

Lua code

-- print all globals visible in loaded code. if "log" is even visible inside...

load("for k, v in pairs(_G) do log(k) end", "loaded code", "t", _G)()

test run  test run with input  download  show line numbers   

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Image recognition results

Recognizer Recognition Result Visualize Recalc
#308 javax.imageio.IIOException: Can't get input stream from URL! [visualize]

Snippet ID: #32
Snippet name: A test for "load" (Lua's version of eval)
Eternal ID of this version: #32/1
Text MD5: f00e91d575089c0fffbc29b74ab97666
Author: stefan
Category: tests
Type: Lua code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2013-12-13 03:05:02
Source code size: 152 bytes / 3 lines
Pitched / IR pitched: Yes / Yes
Views / Downloads: 964 / 347
Referenced in: [show references]