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

7
LINES

< > BotCompany Repo | #1012009 - tok_hasTranslators - doesn't change tok

JavaX fragment (include)

static bool tok_hasTranslators(L<S> tok) {
  int n = l(tok)-2;
  for (int i = 1; i < n; i += 2)
    if (tok.get(i).equals("!") && isInteger(tok.get(i+2)))
      true;
  false;
}

Author comment

Began life as a copy of #1010375

download  show line numbers  debug dex   

Travelled to 9 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1012009
Snippet name: tok_hasTranslators - doesn't change tok
Eternal ID of this version: #1012009/3
Text MD5: 805a9c23105c8f28c05e46df4942dc6b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-16 01:38:20
Source code size: 183 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 202 / 212
Version history: 2 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1012009 & http://1012009.tinybrain.de