[Gambas-user] please, need help with gb.option

Stefano Palmeri rospolosco at ...152...
Mon Jun 2 20:22:23 CEST 2008


Il Monday 02 June 2008 20:07:43 Benoit Minisini ha scritto:
> On lundi 02 juin 2008, rospolosco at ...152... wrote:
> > [Second request]
> >
> > Please, could someone provide a little code to show me
> > how to use gb.option component.
> > I need an example application that accepts options
> > "-a -b -c" and print their arguments. I mean:
> >
> > example.gambas -a test -b foo -c bar
> >
> > result on console:
> >
> > "-a" argument is "test"
> > "-b" argument is "foo"
> > "-c" argument is "bar"
> >
> > Then, I would like to know if with gb.option an option
> > could take multiple args. i.e: -a foo bar -b test
> >
> > I googled a lot and searched in the Gambas documentation,
> > but I can't find any example. Thanks.
> >
> > Regards,
> >
> > Stefano
>
> The component was made by Chintan Rao, and I never used it myself. Search
> in the developer mailing-list archive for his posts, you will find some
> information about the component.
>
> Regards,

Ok, thanks Benoit. Also, I will try to contact him.

Ciao,

Stefano




More information about the User mailing list