652 users online
225167 members
1425 active today
Advertise Here
Photos
|
Quizzes
|
LiveSecret
|
Memberlist
|
Dictionary
|
News
|
FAQ
Member Spotlight
Mabzie
Favs:
Papierosy, Wódka
Mood:
Excited
You have 1 new
message
.
Emergency Help
Until you sign up you can't do much. Yes, it's free.
Sign Up Now
Membername:
Password:
Already have an account?
►
Invite Friends
►
Active Members
►
Groups
►
Contests
Moderators
4 online / 44 MPM
Fresh Topics
Yay for
hmm do guys normally?
Did you know...
3.5 in college
Christmas Gift For Mom
every male that has a penis
If someone does a good photoshop job for me
them jews
Utheh is...
Really lw, really lw
I'm desperate to move on :(
Who belongs in the kitchen? (Best Poll)
this video got rid of my hiccups
soooo
i need helpp
sooooo
help..please
I really want a smoke.
Oh...god.
More Fresh Topics
LiveWire
/
Technical Forums
/
Programming & Application Development
/ Adding Reply
Quoting Post
Archived Topic:
It will not be bumped to the top of the forum.
Topic
Blitz Basic Function Q
Membername
Not a member?
Sign Up Free
(takes 20 seconds)
Password
Forgotten your password?
Post
Font:
Verdana
Arial Black
Georgia
Comic Sans
Impact
Size:
Tiny
Normal
Big
Huge
Color:
Default
Dark Red
Red
Orange
Brown
Green
Olive
Cyan
Blue
Dark Blue
Indigo
Black
[
Check Spelling
] [
Post Preview
] [
LiveTags
]
Quote: from [m]tk13[/m] at 7:33 am on July 11, 2005[quote]I can't post it becaz there r too may con chars. I gues I coudl e-mail it to neone willing to help.[/quote]
FAQ Keyword Search:
Post Options
Favorites Manager
Notify me of new replies to this topic
by email
Notify me of new replies to this topic
by private message
Original Post
tk13
Posted 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.
Replies
Duekiller
Posted 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.
tk13
Posted 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.
All 2 previous replies displayed.
Tooltip