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

24
LINES

< > BotCompany Repo | #1000589 // Run expander (stand-alone test)

JavaX source code - run with: x30.jar

1  
!636
2  
!standard functions
3  
4  
!class _javax 19
5  
6  
main {
7  
  psvm {
8  
    boolean upload = args.length != 0;
9  
    
10  
    String expanderID = "#1000587";
11  
    String inputID = "#1000586";
12  
    String expander = loadSnippet(expanderID);
13  
    String input = loadSnippet(inputID);
14  
    String expandedExpander = "!636\n" + "!simplejava\n" + "Object in = " + javaQuote(input) + ";\n"
15  
      + expander + "\n" + "return in;";
16  
    String result = execute(expandedExpander);
17  
    print "\nResult:\n"
18  
    System.out.println(result);
19  
    if (upload)
20  
      ntUpload("1000589-" + computerID(), "Expansion of " + inputID + " through " + expanderID, result);
21  
  }
22  
  
23  
  !include #1000590 // execute function
24  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1000589
Snippet name: Run expander (stand-alone test)
Eternal ID of this version: #1000589/1
Text MD5: 9632e66b7ac934eccc67b7a4c6965b24
Author: stefan
Category:
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-08-15 16:56:35
Source code size: 697 bytes / 24 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 732 / 619
Referenced in: [show references]