Qbasicnews.com

Full Version: Compilation error.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I keep getting a "Data-memory overflow" when compiling my program. Any idea what that means and how I can fix it?

It occurs when I'm setting the screen mode (SCREEN 13).
.
uhh....
ok... i'll link it, quite big, with graphics sets...
i still don't get (functions) either, despite reading the other thread, so it's not as optimized as possible

http://www.hokuten.net/send/battle.zip
.
I put

'$DYNAMIC

in the first line of your program and moved your COMMON statements to before the DIM statements (after the DEFINT statement) and it compiled just fine. (COMMON statements must occur before executable statements. That's the error message you'll get if you just put in the '$DYNAMIC and don't move the COMMON statements.)
Worked! Awesome, thanks! battle.zip has been replaced by the executable, btw.... no point in downloading now...
.
Glenn again with the subject thing :o Oh man I am such a newbie, even at posting~!!
Quote:Glenn again with the subject thing :o Oh man I am such a newbie, even at posting~!!

Still catches out a few of us every now and then... I see you've relapsed into the "." again, Glenn :wink:
sorry for changing the subject ( not that it matters, that person seems to be helped ), but why do you people put your message inside you subject lines sometimeS?

it seems like it is just longer that way, because you have to put the"." in the main box anyway
Pages: 1 2