LiveWire Peer Support Network

Printable Version of Topic "Blitz Basic Function Q"

- LiveWire Teen Forums & College Forums (http://www.golivewire.com)
-- (http://www.golivewire.com/forums/support-technical.html)
--- Programming & Application Development (http://www.golivewire.com/forums/forum-211-s-0.html)
---- Blitz Basic Function Q (http://www.golivewire.com/forums/peer-ynstee-support-a.html)


-- Posted by tk13 at 7:27 am on July 11, 2005

Here goes, yesterday I picked up a book on how to program using Blitz Basic(I'm using a demo version of Blitz BAsic 2D). So far I've learned everything I thoguht I'd need to make a non-complex-graphical game(but I use characters for graphics). Anyway, I wrote out the basics of the game( not even close to done with it yet) and any time I try to compile/check for errors, it tells me that Functions can not be used outside of the main loop. I already have learned Python, C, C++, and Pascal. I've never had this prob using the other langues. I'll post the source code in a sec, I could rely use sdome help here.


-- Posted by tk13 at 7:33 am on July 11, 2005

I can't post it becaz there r too may con chars. I gues I coudl e-mail it to neone willing to help.


-- Posted by Duekiller at 8:07 pm on July 16, 2005

Try checking if you need to enclose everything within a main class. Because graphical engines sometimes let you define resources and other outside functions.


www.golivewire.com