1System.getArgs(3kaya) Kaya module reference System.getArgs(3kaya)
2
3
4
6 System::getArgs - Get command-line arguments.
7
9 [String] getArgs( )
10
12 Return the arguments passed to the program on the command line. The
13 zeroth argument is the name the program was called with. A command line
14 of printargs -a 100 --long-argument will give a resulting array
15 ["printargs","-a","100","--long-argument"]
16
18 Kaya standard library by Edwin Brady, Chris Morris and others
19 (kaya@kayalang.org). For further information see http://kayalang.org/
20
22 The Kaya standard library is free software; you can redistribute it
23 and/or modify it under the terms of the GNU Lesser General Public
24 License (version 2.1 or any later version) as published by the Free
25 Software Foundation.
26
28 System.getEnv (3kaya)
29 System.getPID (3kaya)
30 System.progName (3kaya) can be used instead if you only need the pro‐
31 gram name
32
33
34
35Kaya December 2010 System.getArgs(3kaya)