Still problems with this... same errors with both Gambas 2.23 and Gambas 3 rev 3748.
I tried with different character encodings and line endings. "Mac OS Classic" line endings yielded different errors, but I couldn't find working combination. Can someone confirm if UTF-8 with normal unix line endings is working combination (I assume it is)? Any other ideas to check? Everything else with Gambas 2 and Gambas 3 works as expected. Jussi On Wed, Apr 6, 2011 at 20:13, Jussi Lahtinen <jussi.lahti...@gmail.com>wrote: > 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 > ------------------------------------------------------------------------------ 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user