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

12
LINES

< > BotCompany Repo | #1002975 // noteLast - saves+retrieves a string

JavaX fragment (include)

static S noteLast_last;

static void noteLast_load() {
  load("noteLast_last");
}

static S noteLast(S s) {
  S x = noteLast_last;
  noteLast_last = s;
  save("noteLast_last");
  ret x;
}

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: #1002975
Snippet name: noteLast - saves+retrieves a string
Eternal ID of this version: #1002975/1
Text MD5: 3801b1ecad70042decf9d0780bfbe332
Author: stefan
Category: eleu / nl
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-04-14 22:53:22
Source code size: 198 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 642 / 567
Referenced in: [show references]