> Hi list, I've been writing some scripts and keep getting this Error 24 No
> Startup Method. This is what I get when I run them directly from the
> console:
> 
> gbw2 -v index.cgi
> gbs: compiling server page
> --------------------
> USE "gb.web"
> PUBLIC SUB Main()
>   Response.Buffered = TRUE
>   Response.Begin
>   _PrintPage()
>   Response.End
> END
> 
> PRIVATE SUB _PrintPage()
> DIM sEnv AS String
> PRINT "html stuff is here"
> END
> 
> --------------------
> gbs: create project
> gbs: process file: /tmp/gambas.0/16002/gs.tmp
> ERROR: #24: No startup method
> 
> I've tried this on two different pc's, both with a clean ubuntu 9.10
> install on and gambas 2.13. The scripts work the first time, then after a
> couple of minutes literally just stops working and I have no idea why.
> 
> If anyone could shed any light on this it would be much appreciated.
> (I have attached the script that I'm running thats generating this error
> for me. The strange thing is this script worked the first time and I
> haven't made any changes to it)
> Thanks.
> 
> >>>>>>------

I can't reproduce your bug by running it by hand with gambas >= 2.19. 

What happens if you do the same thing? Can you try to upgrade to the latest 
gambas 2 version?

-- 
Benoît Minisini

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to