Re: [Gambas-user] New component: gb.args

2012-10-28 Thread Benoît Minisini
Le 19/10/2012 14:53, Fabien Bodard a écrit : > > is there a way to deal with application.args to manage special args > when gb.args is used ? > Args.End() will return all arguments that were not interpreted - it assumes that they are file names. But if you don't want to deal with the syntax imp

Re: [Gambas-user] New component: gb.args

2012-10-19 Thread Fabien Bodard
2012/10/19 Benoît Minisini : > Le 19/10/2012 14:19, Bruce a écrit : >> On Fri, 2012-10-19 at 12:57 +0200, Benoît Minisini wrote: >>> Le 19/10/2012 12:55, Bruce a écrit : One other! For the future. Could you consider the use of -/+ options (and --/++). The only example I can thi

Re: [Gambas-user] New component: gb.args

2012-10-19 Thread Benoît Minisini
Le 19/10/2012 14:19, Bruce a écrit : > On Fri, 2012-10-19 at 12:57 +0200, Benoît Minisini wrote: >> Le 19/10/2012 12:55, Bruce a écrit : >>> One other! >>> >>> For the future. Could you consider the use of -/+ options (and --/++). >>> The only example I can think of at the moment is vi, as in >>>

Re: [Gambas-user] New component: gb.args

2012-10-19 Thread Bruce
On Fri, 2012-10-19 at 12:57 +0200, Benoît Minisini wrote: > Le 19/10/2012 12:55, Bruce a écrit : > > One other! > > > > For the future. Could you consider the use of -/+ options (and --/++). > > The only example I can think of at the moment is vi, as in > > vi +3 .project > > which starts

Re: [Gambas-user] New component: gb.args

2012-10-19 Thread Benoît Minisini
Le 19/10/2012 12:55, Bruce a écrit : > One other! > > For the future. Could you consider the use of -/+ options (and --/++). > The only example I can think of at the moment is vi, as in > vi +3 .project > which starts vi and positions the cursor at line 3. > > regards > Bruce > This is n

Re: [Gambas-user] New component: gb.args

2012-10-19 Thread Bruce
One other! For the future. Could you consider the use of -/+ options (and --/++). The only example I can think of at the moment is vi, as in vi +3 .project which starts vi and positions the cursor at line 3. regards Bruce --

Re: [Gambas-user] New component: gb.args

2012-10-19 Thread Benoît Minisini
Le 19/10/2012 12:19, Bruce a écrit : > On Tue, 2012-10-16 at 02:06 +0200, Benoît Minisini wrote: >> Hi, >> >> In the last revision, I added a new component 'gb.args', which replaces >> the unmaintained 'gb.option'. By the way, does anyone use 'gb.option'? >> >> The goal of this component made in Ga

Re: [Gambas-user] New component: gb.args

2012-10-19 Thread Bruce
On Tue, 2012-10-16 at 02:06 +0200, Benoît Minisini wrote: > Hi, > > In the last revision, I added a new component 'gb.args', which replaces > the unmaintained 'gb.option'. By the way, does anyone use 'gb.option'? > > The goal of this component made in Gambas is analyzing the command-line > argu

Re: [Gambas-user] New component: gb.args

2012-10-16 Thread Benoît Minisini
Le 16/10/2012 18:21, Olivier Cruilles a écrit : > Hi Benoit, > > It's not a problem, if you create another component that permit the same > treatment, I will modify my program. > > So, do you need an example of how I use the gb.option component ? > > Cordialement, > > Olivier Cruilles > Mail: linu

Re: [Gambas-user] New component: gb.args

2012-10-16 Thread Olivier Cruilles
Hi Benoit, It's not a problem, if you create another component that permit the same treatment, I will modify my program. So, do you need an example of how I use the gb.option component ? Cordialement, Olivier Cruilles Mail: linu...@club-internet.fr Le 16 oct. 2012 à 11:47, Benoît Minisini a

Re: [Gambas-user] New component: gb.args

2012-10-16 Thread Benoît Minisini
Le 16/10/2012 11:44, Ian Haywood a écrit : > On Tue, Oct 16, 2012 at 11:06 AM, Benoît Minisini > wrote: >> Hi, >> >> In the last revision, I added a new component 'gb.args', which replaces >> the unmaintained 'gb.option'. By the way, does anyone use 'gb.option'? > yep. Code can be moved across wit

Re: [Gambas-user] New component: gb.args

2012-10-16 Thread Ian Haywood
On Tue, Oct 16, 2012 at 11:06 AM, Benoît Minisini wrote: > Hi, > > In the last revision, I added a new component 'gb.args', which replaces > the unmaintained 'gb.option'. By the way, does anyone use 'gb.option'? yep. Code can be moved across without too much work, but it creates a problem as it me

Re: [Gambas-user] New component: gb.args

2012-10-15 Thread Olivier Cruilles
Hi Benoit, Yes, I use it and it very important in my project. So what king of informations does you need to know about gb.options ? Of curse if you need it. Cordialement, Olivier Cruilles Mail: linu...@club-internet.fr Le 16 oct. 2012 à 02:06, Benoît Minisini a écrit : > Hi, > > In the la

[Gambas-user] New component: gb.args

2012-10-15 Thread Benoît Minisini
Hi, In the last revision, I added a new component 'gb.args', which replaces the unmaintained 'gb.option'. By the way, does anyone use 'gb.option'? The goal of this component made in Gambas is analyzing the command-line arguments and return the value of options. It works like that: ' Start the