522 users online
225318 members
689 active today
Advertise Here
Photos
|
Quizzes
|
LiveSecret
|
Memberlist
|
Dictionary
|
News
|
FAQ
Member Spotlight
forfallonyy
Favs:
only horror chinese and sushi
Mood:
Tearful
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 / 25 MPM
Fresh Topics
guys are dicks
Family Furious After Police Shoot Dog
SO that's it for another year
How was your Christmas (1 worst- 10best)
Cash for Cockers
Eskimo kisses
What have your parents hit you with
Boyfriend troubles
First Time (You know you pervs wanna help me out)
do girls talk about sex?
I have the worst hangover.
Cash for Clunkers, spend 3 dollars for every one saved
toilet paper patterns?
MERRY Christmas.
guy you've been dating a semester gets you a $2k necklace / pendant ?
What can I say to win her back?
Rose petals
I dont see how anyone can talk to someone on the phone all night
1,121 days left of Obama
More Fresh Topics
LiveWire
/
Technical Forums
/
Programming & Application Development
/ Adding Reply
Adding Reply
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
]
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