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

Demosthenes Koptsis demosthenesk at gmail.com
Thu Aug 3 00:01:58 CEST 2023


yes i know that, "-option parameter" pair, this is not the case...

The case is there is no option or parameter value with FOR...EACH


On 8/3/23 00:56, BB wrote:
>
>
> On 3/8/23 7:11 am, Demosthenes Koptsis wrote:
>>
>> Also
>>
>> ./Project140.gambas -a -b -c 'some extra'
>>
>> not working
>>
> Ah yes, my send finger was too quick. What that did was use 'some 
> extra' as the value of the -c option. Sorry.
>
> try ./Project140.gambas 'some extra'
>
> I'm trying to find some bash documentation that explains the 
> difference between Arguments and Options, but most of the stuff on the 
> internet is garbage, only demonstrating that the authors don't 
> understand it and probably contribute greatly to why this concept is 
> not understood by many. Have you read (all) of the gb.args wiki stuff? 
> Even though it too gets the terms mixed up occasionally, it does 
> somewhat illustrate the concept.
>
> Somewhere in the gnu pages I read about this a long time ago, maybe 
> 10+ years. It sort of went (AFAICR)
>
> The command issued consists of the command name and optional 
> *parameters*. Parameters are either *arguments* or *options*. Options, 
> which may have an associated *value*, are names prefixed with a *"-"*.
>
>
>
> ----[http://gambaswiki.org/wiki/doc/netiquette  ]----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230803/00d7b883/attachment.htm>


More information about the User mailing list