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

21
LINES

< > BotCompany Repo | #1001517 // Object Counter Bot (developing)

JavaX source code - run with: x30.jar

!747

m {
  p {
    makeAndroid3("Object Counter Bot.");
  }
 
  static synchronized S answer(S s) { 
    new Matches m;
    if (match3("count the *", s, m)) {
      S ms = m.unq(0);
      L list = findAll(ms);
      ret n(len(list), ms);
    }
    ret null;
  }

  static L findAll(S what) {
    ret cry();
  }
}

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: #1001517
Snippet name: Object Counter Bot (developing)
Eternal ID of this version: #1001517/1
Text MD5: 10bc0ca8a14f2a86229db2eea868e315
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-10-21 19:52:44
Source code size: 333 bytes / 21 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 745 / 727
Referenced in: [show references]