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

6
LINES

< > BotCompany Repo | #1008039 // programArgs - get arguments main program was started with

JavaX fragment (include)

static S[] programArgs() {
  L injections = cast call(getJavaX(), "getInjections");
  O i1 = first(injections);
  S[] args = (S[]) getOpt(i1, "arguments");
  ret args != null ? args : new S[0];
}

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: #1008039
Snippet name: programArgs - get arguments main program was started with
Eternal ID of this version: #1008039/1
Text MD5: 03eaa7dc111e91f08c1f2f9391488b76
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-21 15:27:28
Source code size: 200 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 443 / 445
Referenced in: [show references]