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

12
LINES

< > BotCompany Repo | #1001786 // htmlBot function (make an HTML bot)

JavaX fragment (include)

static void htmlBot(S name) {
  Android3 a = new Android3(name);
  a.responder = new Responder() {
    S answer(S s, L<S> history) {
      if (match3("get fresh html", s))
        ret quote(unnull((S) callOpt(getMainClass(), "html")));
      ret null;
    }
  };
  
  makeAndroid(a);
}

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: #1001786
Snippet name: htmlBot function (make an HTML bot)
Eternal ID of this version: #1001786/1
Text MD5: 41f0d42c29094fc1dbb4b71bdd6cf360
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-11-14 18:55:27
Source code size: 296 bytes / 12 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 596 / 823
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)