memory

Please use this Board for QBasic related requests ( file research, programming, etc.)

Moderators:Administrator, Global Moderator

Post Reply
Guest
memory

Post by Guest » Tue Apr 20, 2004 8:44 pm

Hi, I have been writing basic code for a while now, I am working on a large program, in which the number of global variables I am using for switches, Graphics, Checks, is alot! I am getting the error message "Memory Overflow Error" when trying to compile from QB 7.1, the program wont compile in QB 4.5 either.

Would the cause of the error be due to the use of alot of Global Variables i.e. DIM Name$(1000), if so is there a way I can get the program to run as efficiently and as fast but save more memory to add more code??

John_Schofield
Full Member
Posts:36
Joined:Tue Mar 18, 2003 3:04 am
Location:Lancashire, UK
Contact:

Re: memory

Post by John_Schofield » Thu Apr 22, 2004 3:24 am

just a thought but why such a big array? Why not use a random access file for each big array on your hard disk - a tiny bit slower I know but it might help you to get round all those memory problems.

Guest

Re: memory

Post by Guest » Fri Apr 23, 2004 3:53 pm

I have discovered that the EXE compiler in QB7.1 has a top size of 64K, is there any way I can increase this so I can compile upto 128K for example?

Post Reply