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

9
LINES

< > BotCompany Repo | #1004397 // addToLogicList

JavaX fragment (include)

// text may be multiple lines
static synchronized void addToLogicList(S text) {
  if (empty(text)) ret;
  text = trim(text);
  if (!containsIgnoreCase(loadLogicList(), text)) {
    logQuoted(logicListFile(), text);
    callOpt(getOpt(mc(), "gLogicList_cache"), "clear");
  }
}

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: 534 / 542
Referenced in: [show references]