static synchronized bool deleteFromLogicList(S text) {
if (empty(text)) false;
text = trim(text);
L<S> l = loadLogicList();
int i = indexOfIgnoreCase(l, text);
if (i < 0) false;
l.remove(i);
saveQuotedLog(logicListFile(), l);
callOpt(getOpt(mc(), "gLogicList_cache"), "clear");
true;
}Began life as a copy of #1004397
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: | #1004444 |
| Snippet name: | deleteFromLogicList |
| Eternal ID of this version: | #1004444/1 |
| Text MD5: | 84809b94adf0da0eded8578b4b41aaa6 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-08-17 16:13:02 |
| Source code size: | 313 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 976 / 988 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |