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

10
LINES

< > BotCompany Repo | #1011933 // web_nodesTooLong

JavaX fragment (include)

// returns true if web contains nodes that are too long
static bool web_nodesTooLong(Web web) {
  if (web == null) false;
  int max = ai_maxNodeTextLength();
  for (WebNode n : web_nodesAndRelations(web))
    for (S s : web_texts(n))
      if (l(s) > max)
        true;
  false;
}

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: #1011933
Snippet name: web_nodesTooLong
Eternal ID of this version: #1011933/1
Text MD5: 1cd142bf12e1e451faec6371de868503
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-10 04:24:00
Source code size: 289 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 439 / 465
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)