6
LINES
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
ID |
Author/Program |
Comment |
Date |
18 | stefan | Works! Command: "run -power 217" | 2014-02-01 16:12:07 |
add comment
Image recognition results
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: |
1165 / 291 |
Referenced in: |
[show references] |
Attributes
- needs powers: true [stefan] -- inserted manually through PhpMyAdmin