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

19
LINES

< > BotCompany Repo | #1001792 // makeBot - make a bot (named responder under locally open VM port)

JavaX fragment (include)

1  
static int makeBot(S greeting) {
2  
  ret makeAndroid3(greeting).port;
3  
}
4  
5  
static Android3 makeBot(Android3 a) {
6  
  makeAndroid3(a);
7  
  ret a;
8  
}
9  
10  
static Android3 makeBot(S greeting, O responder) {
11  
  Android3 a = new Android3(greeting);
12  
  a.responder = makeResponder(responder);
13  
  makeBot(a);
14  
  ret a;
15  
}
16  
17  
static Android3 makeBot() {
18  
  ret makeAndroid3(defaultBotName());
19  
}

Author comment

Began life as a copy of #1001103

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: #1001792
Snippet name: makeBot - make a bot (named responder under locally open VM port)
Eternal ID of this version: #1001792/3
Text MD5: 6c303209f5bae2c8edeb17edebc4e701
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-13 16:25:43
Source code size: 383 bytes / 19 lines
Pitched / IR pitched: No / No
Views / Downloads: 839 / 1705
Version history: 2 change(s)
Referenced in: [show references]