Command-line arguments: Difference between revisions

Content deleted Content added
m →‎{{header|Perl 6}}: spurious newlines
No edit summary
Line 1: 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]].
{{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]].

For parsing command line arguments intelligently, see [[Parsing_command-line_arguments]].


Example command line:
Example command line: