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

8
LINES

< > BotCompany Repo | #1010228 // web_userWebsForTabs2 - one question web, rest is helpers

JavaX fragment (include)

1  
static O[] web_userWebsForTabs2(L<Web> webs) {
2  
  O[] params = new O[l(webs)*2];
3  
  for i over webs: {
4  
    params[i*2] = i == 0 ? "Question" : "Helper web " + i;
5  
    params[i*2+1] = webs.get(i);
6  
  }
7  
  ret params;
8  
}

Author comment

Began life as a copy of #1010226

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: #1010228
Snippet name: web_userWebsForTabs2 - one question web, rest is helpers
Eternal ID of this version: #1010228/3
Text MD5: 9d701a386d90382596e93806999aa1b1
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-06 21:30:42
Source code size: 219 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 546 / 539
Version history: 2 change(s)
Referenced in: [show references]