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

12
LINES

< > BotCompany Repo | #1009039 // ctxPostRule - post-processing of rule (jumpaway/thinkagain)

JavaX fragment (include)

static bool ctxPostRule() {
  if (ctxContext().jumpaway) {
    ctxClearActive();
    ctxContext().nextRule = woodyBot().jumpawayRule;
    true;
  } else if (ctxContext().thinkagain) {
    ctxClearActive();
    ctxContext().nextRule = ctxFindRuleForInput();
    true;
  }
  false;
}

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: #1009039
Snippet name: ctxPostRule - post-processing of rule (jumpaway/thinkagain)
Eternal ID of this version: #1009039/2
Text MD5: cdc80ff2158d57f422aa3d640780f146
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-06-29 18:34:48
Source code size: 292 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 366 / 386
Version history: 1 change(s)
Referenced in: [show references]