Re: [Gambas-user] gb.args

2015-11-13 Thread adamn...@gmail.com
On Fri, 13 Nov 2015 11:55:51 +0100 Fabien Bodard wrote: > Hi, > > I've a big problem as i can't understand the gb.args usage even > with the doc :-/ > > > Is there someone that can give me a tips ... or maybe this class must > be rewritten. > > > > -- > Fabien Bodard > > -

Re: [Gambas-user] gb.args

2015-11-13 Thread willy
On 2015-11-13 11:55, Fabien Bodard wrote: > Hi, > > I've a big problem as i can't understand the gb.args usage even > with the doc :-/ > > > Is there someone that can give me a tips ... or maybe this class must > be rewritten. Hi Fabien, This is a code snippet (and accompanying notes) fr

[Gambas-user] gb.args

2015-11-13 Thread Fabien Bodard
Hi, I've a big problem as i can't understand the gb.args usage even with the doc :-/ Is there someone that can give me a tips ... or maybe this class must be rewritten. -- Fabien Bodard -- __

Re: [Gambas-user] gb.args: Negative numbers as arguments

2014-11-17 Thread Benoît Minisini
Le 15/11/2014 11:51, Tobias Boege a écrit : > Hi, > > with the attached project, negative numbers (indicated by a minus sign in > fron of them) are treated differently under various circumstances: > > 0. Setup: > $ tar -zxvf ColorSelect-1.1.37.tar.gz > $ cd ColorSelect > $ gbc3 -g

[Gambas-user] gb.args: Negative numbers as arguments

2014-11-15 Thread Tobias Boege
Hi, with the attached project, negative numbers (indicated by a minus sign in fron of them) are treated differently under various circumstances: 0. Setup: $ tar -zxvf ColorSelect-1.1.37.tar.gz $ cd ColorSelect $ gbc3 -ga $ gba3 Nothing to see here. 1. gbr3 -- everything as

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