378 users online
225630 members
428 active today
Advertise Here
Photos
|
Quizzes
|
LiveSecret
|
Memberlist
|
Dictionary
|
News
|
FAQ
Member Spotlight
paradise lost
I haven't filled out my profile...
Days Active:
21
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
0 online / 0 MPM
Fresh Topics
What girls do at sleepovers
Over used words.
What is the best linux prog to use with vista , i want to 2x part
Do You Think I Could Make A Difference?
god damn, I'm never on.
Sometimes I think its funny I dunno maybe I'm an asshole
wouldn't it be cute to feed a girl flamin hot cheetos all night
so much grit, determination and full Scottish fighting:
I'm gonna go....
Introduce Yourself (right on!)
new group
Are you afraid to die?
My dada is so mean.
every time abs makes a thread, and you see it's still in FT
im falling
Anyone have ps3 w/ modern warfare 2.
What's the scariest movie have you seen?
What shall I do...
it all
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:27 am on July 11, 2005[quote]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.[/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