BBS: Inland Empire Archive Date: 04-30-92 (13:05) Number: 121 From: MARGARET ROMAO Refer#: NONE To: SHAWN BOWLBY Recvd: NO Subj: Compiler errors Conf: (2) Quik_Bas
SB> Hello i'm using QB 4.5 and am having trouble getting one of my SB>programs to compile.. I keep getting "out of memory" 1 severe SB>error and i was wondering if there was a way around this? I've SB>already tried reduces the .QLB i'm using to help with the SB>memory and still no luck, i have SUBS so everything is not in SB>the main module.. The "out of memory" error you're getting is almost always because of a code segment that is larger than the 64K limit. Try breaking your code into separate modules. To do this, create a new blank .BAS file, _load_ your program into the IDE along with it, and then use the move command from the subs window to move your subs into the second module. You will also need to copy and paste your declarations into the main module of the second file. Use the "Set Main Module" command in the Run menu and select the file that contains the main module code. Then choose the "Save All" command from the file menu. Margaret Romao === * SM 1.06 A0168 * IF INKEY$ = anykey$ THEN GOTO ANYWHERE --- TosScan 1.00 * Origin: Carrie's Living Room - Largo, Florida USA (1:3603/150)
Books at Amazon:
Back to BASIC: The History, Corruption, and Future of the Language
Hackers: Heroes of the Computer Revolution (including Tiny BASIC)
Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution
The Advent of the Algorithm: The Idea that Rules the World
Moths in the Machine: The Power and Perils of Programming
Mastering Visual Basic .NET