What is $args?

Notices and updates
Locked
Kazimir Majorinc
Posts: 388
Joined: Thu May 08, 2008 1:24 am
Location: Croatia
Contact:

What is $args?

Post by Kazimir Majorinc »

It looks the same as (args). Is it documented, I cannot find it.

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

'$args' is an internal variable containing the list of arguments of the current function or macro arguments not bound by function parameters, 'args' is a function to retrieve the contents of '$args'.

DrDave
Posts: 126
Joined: Wed May 21, 2008 2:47 pm

Post by DrDave »

I think it would be nice to have in the manual a table that displays all the system symbols and a description of each.
...it is better to first strive for clarity and correctness and to make programs efficient only if really needed.
"Getting Started with Erlang" version 5.6.2

HPW
Posts: 1390
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany
Contact:

Post by HPW »

Isn't the left frame of ...\newlisp\manual_frame.html good as a listing?
There is also (args) which is documented.
Hans-Peter

DrDave
Posts: 126
Joined: Wed May 21, 2008 2:47 pm

Post by DrDave »

HPW wrote:Isn't the left frame of ...\newlisp\manual_frame.html good as a listing?
There is also (args) which is documented.
It's a good listing, but no descriptions.
...it is better to first strive for clarity and correctness and to make programs efficient only if really needed.
"Getting Started with Erlang" version 5.6.2

Locked