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??
memory
Moderators:Administrator, Global Moderator
-
- Full Member
- Posts:36
- Joined:Tue Mar 18, 2003 3:04 am
- Location:Lancashire, UK
- Contact:
Re: memory
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.
Re: memory
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?