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

30
LINES

< > BotCompany Repo | #1012052 // Utilize pre-spun VM test

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

Download Jar. Libraryless. Click here for Pure Java version (4621L/30K).

!7

sS snippetID = #1012053;

p {
  long time;
  print(time = now());
  S _args = str(time);
  S line;
  if (_args.length() != 0)
    line = format3("please start program * with arguments *", snippetID, _args);
  else
    line = format3("please start program *", snippetID);
    
  S answer = null;
  DialogIO io = talkToOpt(preSpunVMPort());
  try {
    if (io != null)
      answer = io.ask(line);
  } finally {
    if (io != null)
      io.close();
  }
  if (answer == null)
    answer = sendToLocalBotOpt("A pre-spun VM.", line);
  if (match3("ok", answer))
    print("OK, used pre-spun VM.");
  else
    print("> " + answer);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1012052
Snippet name: Utilize pre-spun VM test
Eternal ID of this version: #1012052/9
Text MD5: e9c3549433e836f0d762926af6d8b5e3
Transpilation MD5: 16fed638f71d2d93b3f39b6073553753
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-17 03:22:23
Source code size: 661 bytes / 30 lines
Pitched / IR pitched: No / No
Views / Downloads: 338 / 1717
Version history: 8 change(s)
Referenced in: [show references]