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

3
LINES

< > BotCompany Repo | #108 // newEnv

Lua code

function newEnv()
  return setmetatable({state={}}, {__index=_G})
end

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 71 [visualize]

Snippet ID: #108
Snippet name: newEnv
Eternal ID of this version: #108/1
Text MD5: 8c7110256aa343fd594622ced508c7e6
Author: stefan
Category: helper functions
Type: Lua code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2014-01-09 03:42:22
Source code size: 71 bytes / 3 lines
Pitched / IR pitched: Yes / Yes
Views / Downloads: 840 / 316
Referenced in: [show references]