Qbasicnews.com
May 26, 2020, 04:48:09 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Pages: [1] 2
  Print  
Author Topic: ERROR: Data Memory Overflow  (Read 4592 times)
Anonymous
Guest
« on: December 14, 2003, 05:23:51 PM »

Just recently I've actually been putting my mind together and coding seriously.
I got this error while trying to compile. Does this mean I'm out of QB's memory range? if so... holy crap :p thanxs. sorry if this should really be in 'newbie programming' :p
Logged
Anonymous
Guest
« Reply #1 on: December 14, 2003, 07:50:10 PM »

why doesnt anyone ever answer my posts? Tongue mannnnnn
Logged
Plasma
Na_th_an
*****
Posts: 1770


WWW
« Reply #2 on: December 14, 2003, 08:04:54 PM »

It means your code size is > 64K and you need to split it into multiple modules.
Logged
Anonymous
Guest
« Reply #3 on: December 14, 2003, 08:57:51 PM »

its only 23.3 k... Sad
Logged
Rokkuman
Na_th_an
*****
Posts: 1973



« Reply #4 on: December 14, 2003, 09:43:21 PM »

Dangit. I'm having the same problem as this guy. Get in here and help us! Smiley
Logged
Plasma
Na_th_an
*****
Posts: 1770


WWW
« Reply #5 on: December 14, 2003, 10:22:36 PM »

Er, I misread that as "Program Memory Overflow"...anyway, try sticking '$DYNAMIC at the top of your code.
Logged
Anonymous
Guest
« Reply #6 on: December 14, 2003, 10:44:15 PM »

doesnt help either Sad

i tried dynamic, and for the hell of it i tried static, too... neither worked

helllp i wanna show this off, but i cant release source :p
Logged
Neo
Na_th_an
*****
Posts: 2150



« Reply #7 on: December 15, 2003, 06:36:08 AM »

You have too many data statements in your code.

And how do you mean, 'can't release the source'? Wink
Logged
relsoft
*/-\*
*****
Posts: 3927



WWW
« Reply #8 on: December 15, 2003, 07:42:58 AM »

1.  Try to REDIM instead of DIM


ie.  REDIM SHARED Blah(10000) as integer


2. '$Dynamic



2 should be before 1 though. ;*)
Logged

y smiley is 24 bit.


Genso's Junkyard:
http://rel.betterwebber.com/
TheBigBasicQ
*/-\*
*****
Posts: 4550



WWW
« Reply #9 on: December 15, 2003, 09:02:55 AM »

Chaos, without the source code this becomes a guessing game =P
Logged
Neo
Na_th_an
*****
Posts: 2150



« Reply #10 on: December 15, 2003, 09:13:24 AM »

Quote from: "Cha0s"
helllp i wanna show this off, but i cant release source :p

He says he can't release the source, so this is indeed a guessing game. Smiley

Cha0s: have you tried CLEAR? E.g. CLEAR ,,12000.
Logged
TheBigBasicQ
*/-\*
*****
Posts: 4550



WWW
« Reply #11 on: December 15, 2003, 01:19:34 PM »

Forget it then. This is a complex error. I dont think we will be able to pinpoint it in the near future.
Logged
Anonymous
Guest
« Reply #12 on: December 15, 2003, 05:22:36 PM »

RELSOFTTTT!!!! you were, are and always will be THE MAN!!!!!! it made it work... it made me cry... thank you so much...

im going to release a demo of the engine... i just dont wanna relase source, cause the kid im working with is really paranoid about theives ;p
Logged
na_th_an
*/-\*
*****
Posts: 8244



WWW
« Reply #13 on: December 15, 2003, 05:24:21 PM »

Quote from: "Cha0s"
i just dont wanna relase source, cause the kid im working with is really paranoid about theives ;p


If you both were coding the latest hit game for PS2 leading a troupe of 15 artists and 5 programmers, I would understand that sentence...

C'mon, this is QB!
Logged

SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
relsoft
*/-\*
*****
Posts: 3927



WWW
« Reply #14 on: December 16, 2003, 02:48:34 AM »

Quote from: "Cha0s"
RELSOFTTTT!!!! you were, are and always will be THE MAN!!!!!! it made it work... it made me cry... thank you so much...

im going to release a demo of the engine... i just dont wanna relase source, cause the kid im working with is really paranoid about theives ;p


No problem. ;*)
Logged

y smiley is 24 bit.


Genso's Junkyard:
http://rel.betterwebber.com/
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!