[Gambas-user] How to add Args from the IDE

Mayost Sharon sharon at 455.co.il
Tue May 19 20:27:35 CEST 2020


Hello

It brings back the name of the program
I am attaching the demo

Thanks

---------- Original Message -----------
From: Jussi Lahtinen <jussi.lahtinen at gmail.com>
To: Gambas Mailing List <user at lists.gambas-basic.org>
Sent: Tue, 19 May 2020 21:18:01 +0300
Subject: Re: [Gambas-user] How to add Args from the IDE

> Have you tried what is the output of
> Print Args.All.Join(",")
> 
> Maybe all the arguments are in the same string, instead of separated
> arguments..? Just a quick thought, probably wrong.
> 
> Jussi
> 
> On Tue, May 19, 2020 at 9:05 PM Mayost Sharon <sharon at 455.co.il> wrote:
> 
> > Fedora 31 64 bit
> > gambas 3.14.2
> >
> > I'm trying to add Args through the IDE
> > Project -> Properties -> Arguments -> Insert
> > For example, I added 3 Args
> >
> > But, when I run the program:
> > The value I get from Args.Count is: always 1
> >
> > But, if I run the program from a command line with 3 Args it works fine
> >
> > Thank you
> >
> > ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> >
------- End of Original Message -------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gArgs.zip
Type: application/zip
Size: 13856 bytes
Desc: not available
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200519/c51e096e/attachment-0001.zip>


More information about the User mailing list