static DialogIO talkToMainProgram(S progID) { for (DialogIO io : talkToAllVMs()) { bool close = true; try { S pID = io.ask("what is the main program id?"); if (sameSnippetID(pID, progID)) { close = false; ret io; } } finally { if (close) io.close(); } } null; }
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: | 797 / 773 |
| Referenced in: | [show references] |