[Gambas-user] gb.Args component, FOR EACH...NEXT not working

Jussi Lahtinen jussi.lahtinen at gmail.com
Thu Aug 3 02:53:51 CEST 2023


>
> Aaaarrrrggh! Arguments, arguments, arguments. 😁
>
> Arguments are positional, as in cp <source> <destination>.
>
>
> For example, if I want my program to have two mandatory arguments
> otherwise exit with an error...
>
> If Args.Count < 3 then blah blah
>
> No need for gb.args just the native Args class.
>
Of course, but what does the "Well that is a shame ..." part means? You
don't need to use gb.args and you can rely on the user knowing the order.
Everything works as usual..? No?


Jussi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230803/be2083be/attachment.htm>


More information about the User mailing list