731 users online
225683 members
1496 active today
Advertise Here
Photos
|
Quizzes
|
LiveSecret
|
Memberlist
|
Dictionary
|
News
|
FAQ
Member Spotlight
bella103
Music:
anything thats intertaining
Mood:
Euphoric
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
1 online / 173 MPM
Fresh Topics
R.I.P. The Rev
XxBoDyLiCi0uSbabyxX
Uggghh too much caffeine
This week is going by so slow...
Lol @ cashiers who can't count.
i'll set my mood when i can set it to
help, break-up last 12 hours.
If someone donates $16 for me, I'll change my sn and post normally.
Next Potential GF? What say you?
lw moods
Fuck the mods
I. Can't. Sleep.
I love my facebook status
acne....birth control??
Name three lw members who are hated but still stay
Are you on MSN right now
Just watched Sherlock Holmes
I love my facebook status
I want.....
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]Duekiller[/m] at 8:07 pm on July 16, 2005[quote]Try checking if you need to enclose everything within a main class. Because graphical engines sometimes let you define resources and other outside functions.[/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