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

9
LINES

< > BotCompany Repo | #1008928 // ctxProcessRules

JavaX fragment (include)

1  
static void ctxProcessRules() {
2  
  while (ctxContext().nextRule != null) {
3  
    if (++ctxContext().safetyCounter >= 10) {
4  
      print("SAFETY ALERT!");
5  
      break;
6  
    }
7  
    ctxProcessNextRule();
8  
  }
9  
}

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: #1008928
Snippet name: ctxProcessRules
Eternal ID of this version: #1008928/5
Text MD5: 013ee93df791c5e2bb6f3de6857ada4d
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 21:09:57
Source code size: 210 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 456 / 478
Version history: 4 change(s)
Referenced in: [show references]