[Gambas-user] Problems with gbs

Benoît Minisini gambas at ...1...
Wed Apr 6 19:23:03 CEST 2011


> Hi!
> I tried to run the benchmarks. But I couldn't run gambas script.
> 
> $ gbs3 -v -c ./testscript
> gbs: Main procedure not defined, create it
> 
> OK, then I added "Sub Main()" and "End" to the script.
> 
> $ gbs3 -v -c ./testscript
> gbs: Main procedure not defined, create it
> MMain.module:42: error: 'Main' already declared
> 
> # Gambas Project File 3.0
> Title=Gambas Script
> Startup=MMain
> ...
> 
> If I run it just with "./testscript" I won't get any errors, nor any
> indication that program was ran or not.
> 
> Gambas 3 rev 3735 @ Ubuntu 10.10 64bit
> 
> Jussi

There is no "testscript" in the benchmarks. What are you talking about?

-- 
Benoît Minisini




More information about the User mailing list