[Gambas-user] VariadicFunction to understand extra arguments
bsteers4 at gmail.com
Wed Dec 16 18:50:28 CET 2020
Wait , strike me down centurion lol.
I have been mistaken here i think.
Very mistaken and i apologize.
I had not realized the Param class, this changes everything.
(on the wiki the part about Param was displayed in the previous section
about the "Optional" keyword so i had missed it)
Nice example thank you.
I'll try to make the wiki more descriptive...
On Wed, 16 Dec 2020 at 17:34, Bruce Steers <bsteers4 at gmail.com> wrote:
> 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
> It will not work the same way a typical "variadic function" does.
> I thought the wiki info quite explanatory.
> 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
>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the User