[Gambas-user] VariadicFunction to understand extra arguments

Bruce Steers bsteers4 at gmail.com
Wed Dec 16 18:34:25 CET 2020


You will find it confusing of you think the "..." keyword is a "variadic
function" by standard definitions.

It is not, it is just a keyword to pass arguments through one function to
another. The "..." object/keyword cannot be accessed like a variadic one
can.

It will not work the same way a typical "variadic function" does.

I thought the wiki info quite explanatory.

BruceS

On Wed, 16 Dec 2020, 17:04 Gianluigi, <bagonergi at gmail.com> wrote:

> I have added to the Farm an example (VariadicFunction) which I hope will
> be useful in understanding the extra arguments.
> Obviously as long as I have understood this well. ☺
> I communicate this because in the wiki (
> http://gambaswiki.org/wiki/lang/methoddecl) the explanation of the extra
> arguments seems very confusing. 😞
> I ask an English-speaking colleague if he can intervene.
>
> Thank you
>
> Gianluigi
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20201216/9c59d1d5/attachment.htm>


More information about the User mailing list