[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: [new feature proposal for versions after 5.0 final] passing a rguments to chunks
- From: Benoit Germain <bgermain@...>
- Date: Fri, 21 Feb 2003 15:03:30 +0100
Well, with or without the '=' is fine with me, but of course in either case
the name specification should be optional.
-----Message d'origine-----
De : Peter Hill [mailto:corwin@iinet.net.au]
Envoyé : vendredi 21 février 2003 13:15
À : Multiple recipients of list
Objet : Re: [new feature proposal for versions after 5.0 final] passing
arguments to chunks
> OATUR, a discussion occured some time ago about the arg parameter and the
> possibility to rename it at will instead of having this predefined name.
> Has this been dropped ? I'd love to have something like that :-)
>
> function myFunc ( var1 , var2 , ... = myTableOfVariadicArguments )
I like the syntax:
myFunc(var1,var2, ...varRemaining)
with the arg list name being optional (and defaulting to "arg").
Cheers,
Peter Hill.