Qbasicnews.com
May 31, 2020, 08:31:53 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]
  Print  
Author Topic: compile error  (Read 1437 times)
toad
Member
*
Posts: 56


Coding since the 90's


WWW
« on: June 27, 2004, 09:33:57 AM »

error description "fatal error L1070: BC_DATA : segment size exceeds 64K"

LINK returns this error.

i have tried both QB4.5 and QB7.1 compilers. i have tired the switches /Ah, /Fs, /Es and they do not help.

the module this error refers to is actually something Relsoft made for me and has compiled before, tho it was some years ago and i'm not as in touch with recognizing these problems.

i understand the error means either the module itself is too large (it is not, it is 17.6 kb, 32 on disk) or an array declared within is too large... but like i said, it has compiled before. it's simply a side-module which has remained unchanged since it was made for me.

appreciate any help  :Huh:

sure would be nice if there was a manual or guide on BASIC compiling. if there is something of the sort, let me know. someone should write one.
Logged

adosorken
*/-\*
*****
Posts: 3655



WWW
« Reply #1 on: June 27, 2004, 11:49:57 AM »

Add this to the top of all source modules:

Code:
'$DYNAMIC

and recompile.
Logged

I'd knock on wood, but my desk is particle board.
toad
Member
*
Posts: 56


Coding since the 90's


WWW
« Reply #2 on: June 27, 2004, 02:35:33 PM »

well my friend, this has started a whole new set of problems, as i suspected. but i believe you've got the right idea.

now, an array which is implicitly defined (through a SUB argument, not DIM statement) is causing the error "subscript out of range". the program does not recognize its existance at all, it is uncreated. '$DYNAMIC did that, somehow. but can't arrays be created implicitly with DYNAMIC? it doesn't seem so.
Logged

relsoft
*/-\*
*****
Posts: 3927



WWW
« Reply #3 on: June 28, 2004, 03:21:05 AM »

Hello Xchaser!!! :*)

QBMCX. :*)
Logged

y smiley is 24 bit.


Genso's Junkyard:
http://rel.betterwebber.com/
Pages: [1]
  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!