Page 1 of 1

memory

Posted: Tue Apr 20, 2004 8:44 pm
by Guest
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??

Re: memory

Posted: Thu Apr 22, 2004 3:24 am
by John_Schofield
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

Posted: Fri Apr 23, 2004 3:53 pm
by Guest
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?