Warning: file_get_contents(http://localhost:8000/calc?cmd=94&userid=0&debug=1): failed to open stream: Cannot assign requested address in /var/www/tb/show-snippet.php on line 158
loadSnippet test [94]

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

8
LINES

< > BotCompany Repo | #94 // loadSnippet test

Lua code - System test

-- This used to crash:
loadSnippet("#95")()

-- But this worked:

--loadSnippet("#95", _G)()

return hello == 1

Author comment

Works :)

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

Comments [hide]

ID Author/Program Comment Date
222 #1000604 (pitcher) 2015-08-18 00:51:40
213 #1000610 (pitcher) Edit suggestion:
!636
!629

main {
static Object androidContext;
static String programID;

public static void main(String[] args) throws Exception {
-- This used to crash:
loadSnippet("#95")()

-- But this worked:

--loadSnippet("#95", _G)()

return hello == 1
}}
2015-08-18 00:51:19

add comment

Image recognition results

Recognizer Recognition Result Visualize Recalc
#308 118 [visualize]

Snippet ID: #94
Snippet name: loadSnippet test
Eternal ID of this version: #94/1
Text MD5: 1ca8496b789f17e7ba4cbf0ebe6fb0bf
Author: stefan
Category: tests
Type: Lua code - System test
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-01-22 20:39:57
Source code size: 118 bytes / 8 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 1213 / 236
Referenced in: [show references]