static S sendToBotQuietly(int port, S text, O... args) { ret sendToBotQuietly(String.valueOf(port), text, args); } static S sendToBotQuietly(S bot, S text, O... args) { text = format3(text, args); temp DialogIO channel = findBot(bot); if (channel == null) fail(quote(bot) + " not found"); try { channel.readLine(); channel.sendLine(text); return channel.readLine(); } catch (Throwable e) { e.printStackTrace(); return null; } }
Began life as a copy of #1001329
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: | #1001781 |
Snippet name: | sendToBotQuietly |
Eternal ID of this version: | #1001781/2 |
Text MD5: | 76e4f87a9786d969238be26fd5106b13 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-13 22:39:33 |
Source code size: | 487 bytes / 19 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 634 / 846 |
Version history: | 1 change(s) |
Referenced in: | #1002427 - Accellerating 629 (SPIKE) #1006654 - Standard functions list 2 (LIVE, continuation of #761) #3000202 - Answer for stefanreich (>> T conversion bot) #3000238 - Answer for stefanreich (>> t power bot) #3000382 - Answer for ferdie (>> t = 1, f = 0) |