[Gambas-user] run gambas bash scripts

Demosthenes Koptsis demosthenesk at ...626...
Thu Jun 28 22:23:47 CEST 2012


ok i found it at Server Pages

Thanks !!

Στις 28/6/2012 22:39, ο/η Benoît Minisini έγραψε:
> 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,
>






More information about the User mailing list