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

12
LINES

< > BotCompany Repo | #736 // Public command executer

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (362L/4K/12K).

1  
!636
2  
!standard functions
3  
4  
main {
5  
  psvm {
6  
    // print arguments
7  
    for (int i = 0; i < args.length; i++)
8  
      System.out.println("Argument " + (i+1) + ": " + quote(args[i]));
9  
    String cmd = join(" ", args); // TODO: quote
10  
    ntUpload("736-" + computerID(), "Command entered: " + cmd, cmd);
11  
  }
12  
}

Author comment

Began life as a copy of #735

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #736
Snippet name: Public command executer
Eternal ID of this version: #736/1
Text MD5: cef397b09d422e3372ceee61bf09de1f
Transpilation MD5: d5651ef05c9472ed0d4a3ce030e6795b
Author: stefan
Category:
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-08-14 21:46:47
Source code size: 312 bytes / 12 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 462 / 505
Referenced in: [show references]