[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: [proposal] Libary changes
- From: Julien Duminil <julien.duminil@...>
- Date: Mon, 10 Oct 2011 17:11:50 +0200
> Would we then still be able to access arg or even arg[-1] ??
> in C/C++/C#/Java/Erlang, the 'commandline argument vector' is
> usually passed to the main function.
> in Perl, argv is declared as '@ARGV' (note that it's uppercase)
> in Ruby, argv is declared as a constant symbol named ARGV (again,
> in python, argv is available through the 'sys' module, which has to
> be imported manually
(If it has to be changed ... :))
What about renaming *arg* into *_ARG* in the interpreter?
Or to access *arg* with *...*, but if you want to access *arg*, you could access it with *debug.arg*?