Warning: session_start(): open(/var/lib/php/sessions/sess_nt5gta5a0bjpgdo73bn6e2702h, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
setAndSave - set global variable and save it with save() [1009591]

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

5
LINES

< > BotCompany Repo | #1009591 // setAndSave - set global variable and save it with save()

JavaX fragment (include)

1  
static <A> A setAndSave(S var, A value) {
2  
  set(mc(), var, value);
3  
  save(var);
4  
  ret value;
5  
}

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: #1009591
Snippet name: setAndSave - set global variable and save it with save()
Eternal ID of this version: #1009591/1
Text MD5: 5e4191c0515e4d81252fd034df353821
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-09 17:25:44
Source code size: 98 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 1031 / 1060
Referenced in: [show references]