[Gambas-user] please, need help with gb.option
rospolosco at ...152...
rospolosco at ...152...
Mon Jun 2 09:35:15 CEST 2008
[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
More information about the User
mailing list