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

!636
!standard functions

!class _javax 19

main {
  psvm {
    boolean upload = args.length != 0;
    
    String expanderID = "#1000587";
    String inputID = "#1000586";
    String expander = loadSnippet(expanderID);
    String input = loadSnippet(inputID);
    String expandedExpander = "!636\n" + "!simplejava\n" + "Object in = " + javaQuote(input) + ";\n"
      + expander + "\n" + "return in;";
    String result = execute(expandedExpander);
    print "\nResult:\n"
    System.out.println(result);
    if (upload)
      ntUpload("1000589-" + computerID(), "Expansion of " + inputID + " through " + expanderID, result);
  }
  
  !include #1000590 // execute function
}

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: 731 / 618
Referenced in: [show references]