[Gambas-user] Problems with gbs

Jussi Lahtinen jussi.lahtinen at ...626...
Wed Apr 6 20:12:44 CEST 2011


I created file named testscript, then I pasted code from
http://www.gambasdoc.org/help/doc/benchmark/polynom .
But I don't think it really matters since I can't run any code.
Even simple code as following fails with same errors;

#!/usr/bin/env gbs3
Print "Hello?"


Jussi



2011/4/6 Benoît Minisini <gambas at ...1...>

> > 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
>
>
> ------------------------------------------------------------------------------
> Xperia(TM) PLAY
> It's a major breakthrough. An authentic gaming
> smartphone on the nation's most reliable network.
> And it wants your games.
> http://p.sf.net/sfu/verizon-sfdev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list