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

10
LINES

< > BotCompany Repo | #1017634 // searchLocalMechListCopies_returnLines - returns lines that cic the search string

JavaX fragment (include)

static L<S> searchLocalMechListCopies_returnLines(S s) {
  if (empty(s)) null;
  new L<S> out;
  for (S listName : namesOfLocalMechListCopies()) pcall {
    for (S line : linesFromFile(remoteMechListMirrorFile(listName)))
      if (cic(line, s))
        out.add(line);
  }
  ret out;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1017634
Snippet name: searchLocalMechListCopies_returnLines - returns lines that cic the search string
Eternal ID of this version: #1017634/3
Text MD5: 57a560beec9a819009bcff6f42f9b012
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-31 13:16:39
Source code size: 294 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 338 / 366
Version history: 2 change(s)
Referenced in: [show references]