Command-line arguments: Difference between revisions

see also
(→‎{{header|Common Lisp}}: there was already a better solution in Program_name)
(see also)
Line 1:
{{task}}{{selection|Short Circuit|Console Program Basics}} [[Category:Basic language learning]][[Category:Programming environment operations]][[Category:Initialization]]Retrieve the list of command-line arguments given to the program. For programs that only print the arguments when run directly, see [[ScriptedMain]].
 
See also [[Program name]].
For parsing command line arguments intelligently, see [[Parsing_command-line_arguments]].
 
For parsing command line arguments intelligently, see [[Parsing_commandParsing command-line_argumentsline arguments]].
 
Example command line:
Anonymous user