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)

static int makeBot(S greeting) {
  ret makeAndroid3(greeting).port;
}

static Android3 makeBot(Android3 a) {
  makeAndroid3(a);
  ret a;
}

static Android3 makeBot(S greeting, O responder) {
  Android3 a = new Android3(greeting);
  a.responder = makeResponder(responder);
  makeBot(a);
  ret a;
}

static Android3 makeBot() {
  ret makeAndroid3(defaultBotName());
}

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: 563 / 1382
Version history: 2 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1001792 & http://1001792.tinybrain.de