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

6
LINES

< > TinyBrain | #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   

Travelled to 2 computer(s): cfunsshuasjs, tvejysmllsmz

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: 28 / 24
Referenced in: [show]