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

6
LINES

< > BotCompany Repo | #1010880 // stringArrayCountFrom1ToN

JavaX fragment (include)

1  
static S[] stringArrayCountFrom1ToN(int n) {
2  
  S[] a = new S[n];
3  
  for i to n:
4  
    a[i] = str(i+1);
5  
  ret a;
6  
}

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: #1010880
Snippet name: stringArrayCountFrom1ToN
Eternal ID of this version: #1010880/1
Text MD5: 2ad1ba6d9b0497d7ed50a99051851a98
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-05 00:35:59
Source code size: 115 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 392 / 428
Referenced in: [show references]