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

11
LINES

< > BotCompany Repo | #1004081 // sendToPublicCommBot

JavaX fragment (include)

1  
static S sendToPublicCommBot(S ip, S line, O... args) {
2  
  if (ip == null) null;
3  
  line = format3(line, args);
4  
  
5  
  DialogIO io = talkTo(ip, 4999);
6  
  try {
7  
    ret io.askLoudly(line);
8  
  } finally {
9  
    io.close();
10  
  }
11  
}

Author comment

Began life as a copy of #1001654

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: #1004081
Snippet name: sendToPublicCommBot
Eternal ID of this version: #1004081/1
Text MD5: f21401159f38fdab245e015549d9ac94
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-07 14:44:47
Source code size: 228 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 609 / 575
Referenced in: [show references]