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

Stefano Palmeri rospolosco at ...152...
Wed May 28 22:12:13 CEST 2008


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"

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