Re: [Gambas-user] [Ask] Gambas script programming

2015-09-16 Thread zainudin ahmad
I am use application.path for to know binary file in tmp directory(not worried again for use it) and for args[0] I can use file.name() method for get the file name. thanks . On Wed, Sep 16, 2015 at 12:15 PM, Fabien Bodard wrote: > It normal as the scripter make an executable in a tmp folder an

Re: [Gambas-user] [Ask] Gambas script programming

2015-09-15 Thread Fabien Bodard
It normal as the scripter make an executable in a tmp folder and then execute it. Le 16 sept. 2015 04:49, "zainudin ahmad" a écrit : > Hi Friends > > > I am new in gambas script programming world, I have some question. > > * this is normal ? run this code (save the file not in tmp directory and >

[Gambas-user] [Ask] Gambas script programming

2015-09-15 Thread zainudin ahmad
Hi Friends I am new in gambas script programming world, I have some question. * this is normal ? run this code (save the file not in tmp directory and the command only ./test.gs3) #!/usr/bin/env gbs3 public sub main() print args[0] print application.path end the result is /tmp/gamba