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

4
LINES

< > BotCompany Repo | #1004100 // gN - get entry #i of gen log (counting from end starting at 1, 2, 3, 4)

JavaX fragment (include)

static S gN(int i) {
  L<S> log = genLog();
  ret get(log, l(log)-i);
}

Author comment

Began life as a copy of #1003821

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1004100
Snippet name: gN - get entry #i of gen log (counting from end starting at 1, 2, 3, 4)
Eternal ID of this version: #1004100/1
Text MD5: aac966ef4eb9125e81c49ee8f6a561a2
Author: stefan
Category: javax / talking robots
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-07 15:54:14
Source code size: 74 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 458 / 494
Referenced in: [show references]