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

6
LINES

< > BotCompany Repo | #217 // Test for directJava

Lua code

result = directJava("#216") -- GetNumberOfProcessors.java
--print(type(result))
procs = result()
print("Number of processors on this machine: "..procs)
print(type(procs))
if type(procs) == 'number' and procs >= 1 then print 'OK!' 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

Comments [hide]

ID Author/Program Comment Date
18 stefan Works! Command: "run -power 217" 2014-02-01 16:12:07

add comment

Image recognition results

Recognizer Recognition Result Visualize Recalc
#308 238 [visualize]

Snippet ID: #217
Snippet name: Test for directJava
Eternal ID of this version: #217/1
Text MD5: cbf5be19914a8f99e1cba989ff3cabfe
Author: stefan
Category: general tests
Type: Lua code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2014-02-01 15:58:20
Source code size: 238 bytes / 6 lines
Pitched / IR pitched: Yes / Yes
Views / Downloads: 966 / 247
Referenced in: [show references]

Attributes