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

11
LINES

< > BotCompany Repo | #1018796 // optOutParam

JavaX fragment (include)

1  
/*
2  
used to set optional out parameters in a function header.
3  
see test_tok_optOutParam
4  
*/
5  
svoid optOutParam(O[] params, S name, O value) {
6  
  setIVar(optOutParam(params, name), value);
7  
}
8  
9  
static IVar optOutParam(O[] params, S name) {
10  
  ret (IVar) optPar(params, name);
11  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1018796
Snippet name: optOutParam
Eternal ID of this version: #1018796/3
Text MD5: c691e91d85a934c977ae8a281398068a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-08 15:31:11
Source code size: 278 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 267 / 316
Version history: 2 change(s)
Referenced in: [show references]