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

13
LINES

< > BotCompany Repo | #1010645 // sendToVMsRunningProgram

JavaX fragment (include)

1  
static L<S> sendToVMsRunningProgram(S progID, S text, O... args) {
2  
  new L<S> answers;
3  
  for (DialogIO io : talkToAllVMs()) {
4  
    try {
5  
      S pID = io.ask("what is the main program id?");
6  
      if (sameSnippetID(pID, progID))
7  
        answers.add(io.ask(format(text, args)));
8  
    } finally {
9  
      io.close();
10  
    }
11  
  }
12  
  ret answers;
13  
}

Author comment

Began life as a copy of #1004204

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: #1010645
Snippet name: sendToVMsRunningProgram
Eternal ID of this version: #1010645/3
Text MD5: 2481dd29dfd03495d7e526c1a03fe346
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-24 01:26:13
Source code size: 349 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 524 / 517
Version history: 2 change(s)
Referenced in: [show references]