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

9
LINES

< > BotCompany Repo | #1004397 // addToLogicList

JavaX fragment (include)

1  
// text may be multiple lines
2  
static synchronized void addToLogicList(S text) {
3  
  if (empty(text)) ret;
4  
  text = trim(text);
5  
  if (!containsIgnoreCase(loadLogicList(), text)) {
6  
    logQuoted(logicListFile(), text);
7  
    callOpt(getOpt(mc(), "gLogicList_cache"), "clear");
8  
  }
9  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1004397
Snippet name: addToLogicList
Eternal ID of this version: #1004397/1
Text MD5: 627a27786fb41cd2920a6f0faf3a68c6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-17 00:25:19
Source code size: 284 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 536 / 545
Referenced in: [show references]