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).

1  
!7
2  
3  
sS snippetID = #1012053;
4  
5  
p {
6  
  long time;
7  
  print(time = now());
8  
  S _args = str(time);
9  
  S line;
10  
  if (_args.length() != 0)
11  
    line = format3("please start program * with arguments *", snippetID, _args);
12  
  else
13  
    line = format3("please start program *", snippetID);
14  
    
15  
  S answer = null;
16  
  DialogIO io = talkToOpt(preSpunVMPort());
17  
  try {
18  
    if (io != null)
19  
      answer = io.ask(line);
20  
  } finally {
21  
    if (io != null)
22  
      io.close();
23  
  }
24  
  if (answer == null)
25  
    answer = sendToLocalBotOpt("A pre-spun VM.", line);
26  
  if (match3("ok", answer))
27  
    print("OK, used pre-spun VM.");
28  
  else
29  
    print("> " + answer);
30  
}

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: 441 / 1965
Version history: 8 change(s)
Referenced in: [show references]