Jump to content

I think it would be good if they covered parameters (hope its the correct word)


Recommended Posts

These are called command line arguments, and are used for programs run from the command line. Perl uses the built-in array @ARGV. Likewise, Python uses the array sys.argv. The names are a nod to C, where arguments are passed to the main function as parameters traditionally named argc & argv (though this is not a requirement, merely convention).

Link to comment
Share on other sites

 Share

×
×
  • Create New...