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)

1  
static L<S> searchLocalMechListCopies_returnLines(S s) {
2  
  if (empty(s)) null;
3  
  new L<S> out;
4  
  for (S listName : namesOfLocalMechListCopies()) pcall {
5  
    for (S line : linesFromFile(remoteMechListMirrorFile(listName)))
6  
      if (cic(line, s))
7  
        out.add(line);
8  
  }
9  
  ret out;
10  
}

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: 339 / 368
Version history: 2 change(s)
Referenced in: [show references]