[Gambas-user] Problems with gbs

Jussi Lahtinen jussi.lahtinen at ...626...
Wed Apr 6 19:13:27 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



More information about the User mailing list