[Gambas-user] VariadicFunction to understand extra arguments

Bruce Steers bsteers4 at gmail.com
Wed Dec 16 20:21:04 CET 2020


> I ask an English-speaking colleague if he can intervene.
>
> Thank you
>

Your English is pretty good :)
All i would say is the line...
#Error: The expected data by the function are in a different number
does not read right.
would be simpler to write.
Print "#Error: Wrong number of arguments."
or even better..
    Print ("#Error: " & IIf(Param.Count < value, "Not enough", "Too many")
& " arguments!")

Just that and you have flotting instead of floating.

otherwise perfect :)
Thanks again.
BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20201216/6f8bade2/attachment.htm>


More information about the User mailing list