Le 28/06/2012 21:22, Demosthenes Koptsis a écrit :
> I think somewhere i saw it in the past ....
>
> can anyone know if we can write scripts running from bash like that:
> i think gbr3 is not the right bin to do this
>
> #!/usr/local/bin/gbr3
>
> ' Gambas module file
>
> Public Sub Main()
>     Print "Hello World"
> End
>

You must type '#!/usr/local/bin/gbs3' instead.

gbs3 is a program made in Gambas that allows you to run Gambas scripts. 
It transforms the script file into a Gambas project, compiles it and run 
it. It maintains a cache of compiled scripts so that if you run the 
script another time, it is run directly.

Regards,

-- 
Benoît Minisini



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to