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

7
LINES

< > BotCompany Repo | #1009135 // ctxDefaultOnEmptyOutput

JavaX fragment (include)

static void ctxDefaultOnEmptyOutput() {
  if (empty(ctxGetOutput())) {
    print("Defaulting on empty output");
    ctxContext().nextRule = woodyBot().jumpawayRule;
    ctxProcessRules();
  }
}

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: #1009135
Snippet name: ctxDefaultOnEmptyOutput
Eternal ID of this version: #1009135/3
Text MD5: 7f7de1a648ab7119e1bda45bbd9599b9
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-07-04 19:33:47
Source code size: 199 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 511 / 506
Version history: 2 change(s)
Referenced in: [show references]