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

13
LINES

< > BotCompany Repo | #1010645 // sendToVMsRunningProgram

JavaX fragment (include)

static L<S> sendToVMsRunningProgram(S progID, S text, O... args) {
  new L<S> answers;
  for (DialogIO io : talkToAllVMs()) {
    try {
      S pID = io.ask("what is the main program id?");
      if (sameSnippetID(pID, progID))
        answers.add(io.ask(format(text, args)));
    } finally {
      io.close();
    }
  }
  ret answers;
}

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: 522 / 515
Version history: 2 change(s)
Referenced in: [show references]