Re: [Gambas-user] gb.args - a question

2013-02-16 Thread Bruce
On Sat, 2013-02-16 at 16:31 +0100, Willy Raets wrote: > On Sat, 2013-02-16 at 14:51 +0100, Tobias Boege wrote: > > On Sat, 16 Feb 2013, Willy Raets wrote: > > > Okay Bruce, > > > > > > Thanks again, you got me on the right track and I got it solved showing > > > me about info without launching the

Re: [Gambas-user] gb.args - a question

2013-02-16 Thread Willy Raets
On Sat, 2013-02-16 at 14:51 +0100, Tobias Boege wrote: > On Sat, 16 Feb 2013, Willy Raets wrote: > > Okay Bruce, > > > > Thanks again, you got me on the right track and I got it solved showing > > me about info without launching the application. > > > > Here is how I did it: > > > > Public Sub M

Re: [Gambas-user] gb.args - a question

2013-02-16 Thread Tobias Boege
On Sat, 16 Feb 2013, Willy Raets wrote: > Okay Bruce, > > Thanks again, you got me on the right track and I got it solved showing > me about info without launching the application. > > Here is how I did it: > > Public Sub Main() > > Dim bAOption As Boolean > Args.Begin(Application.Name &

Re: [Gambas-user] gb.args - a question

2013-02-15 Thread Willy Raets
On Sat, 2013-02-16 at 02:55 +0100, Willy Raets wrote: > On Sat, 2013-02-16 at 08:59 +1030, Bruce wrote: > > On Fri, 2013-02-15 at 23:07 +0100, Willy Raets wrote: > > Thanks Bruce, > > I tried this but instead of -a returning the info required it > launches the application and thus is not recogni

Re: [Gambas-user] gb.args - a question

2013-02-15 Thread Willy Raets
On Sat, 2013-02-16 at 08:59 +1030, Bruce wrote: > On Fri, 2013-02-15 at 23:07 +0100, Willy Raets wrote: > > > > > 3. For: Arguments -a > > Arguments: argument missing for option -a > > > > How do I get this -a to work? What am I missing? > > Any suggestions or a small example would do miracles.

Re: [Gambas-user] gb.args - a question

2013-02-15 Thread Bruce
I meant.. On Sat, 2013-02-16 at 08:59 +1030, Bruce wrote: > On Fri, 2013-02-15 at 23:07 +0100, Willy Raets wrote: > > > > > 3. For: Arguments -a > > Arguments: argument missing for option -a > > > > How do I get this -a to work? What am I missing? > > Any suggestions or a small example would do

Re: [Gambas-user] gb.args - a question

2013-02-15 Thread Bruce
On Fri, 2013-02-15 at 23:07 +0100, Willy Raets wrote: > > 3. For: Arguments -a > Arguments: argument missing for option -a > > How do I get this -a to work? What am I missing? > Any suggestions or a small example would do miracles. > Args.Get(...) returns a string value, as you have correctly

[Gambas-user] gb.args - a question

2013-02-15 Thread Willy Raets
Hello, I'm experiencing some trouble implementing gb.args I made a small testcase named Arguments. To implement version and help are no problem :) Now I try to add an argument a (about) Goal is that: Arguments -a OR Arguments --about RETURNS To test gb.args in GUI application The code I have