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

8
LINES

< > BotCompany Repo | #1013185 // ai_tryIfAndInput

JavaX fragment (include)

static S ai_tryIfAndInput(S s) {
  for (S rule : fullIndexedTermsStartingWith("[[if ")) pcall {
    if (ai_isRuleSuitableForFunction(rule, 'ai_ifAndInput)) pcall {
      try answer ai_ifAndInput(rule, s);
    }
  }
  null;
}

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: #1013185
Snippet name: ai_tryIfAndInput
Eternal ID of this version: #1013185/1
Text MD5: 9bb5ef782a16e9013c61a81cda1f85b1
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-27 04:55:39
Source code size: 231 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 485 / 481
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)