1 | static DialogIO talkToMainProgram(S progID) { |
2 | for (DialogIO io : talkToAllVMs()) { |
3 | bool close = true; |
4 | try { |
5 | S pID = io.ask("what is the main program id?"); |
6 | if (sameSnippetID(pID, progID)) { |
7 | close = false; |
8 | ret io; |
9 | } |
10 | } finally { |
11 | if (close) |
12 | io.close(); |
13 | } |
14 | } |
15 | null; |
16 | } |
Began life as a copy of #1004203
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1004204 |
Snippet name: | talkToMainProgram - talk to a main program with a certain ID loaded in a VM |
Eternal ID of this version: | #1004204/1 |
Text MD5: | 655166491eff2fe4f208ecd997856e73 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-08-10 15:15:02 |
Source code size: | 346 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 572 / 555 |
Referenced in: | [show references] |