From: Bjorn De Meyer Newsgroups: comp.os.msdos.djgpp Subject: RE: Will there be an out of memory error? Date: Mon, 16 Nov 1998 14:54:15 +0100 Organization: University of Ghent, Belgium Lines: 38 Message-ID: References: <199811152033 DOT UAA07025 AT remus DOT clara DOT net> NNTP-Posting-Host: eduserv2.rug.ac.be Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <199811152033.UAA07025@remus.clara.net> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sun, 15 Nov 1998, Arthur wrote: > > I prefer method number one but I've programmed a floodfill program in > > MS-Qbasic and I found that if I use method number one, then I get > > an out of > > memory error, but method number two does not return an out of > > memory error. > > So I want to know whether djgpp also return an out of memory error for > > method number one. > > Method number one would be the preferred method in C. I have no idea why > QBasic would return out of memory - not unless it's with some other part of > your code. All I can suggest is that there's something in your floodfill > code that absorbs all available memory. Qbasic is infamous for it's 64k limits on code and data structures. It's a reduced version of Quickbasic and Micro$oft made sure that it's impossible to make 'real' programs in Qbasic by cutting the available mem to 64k. Yuk :P ! With DJGPP OTOH, all the mem there is, is yours to use :). Bjorn De Meyer. IA #i^4 Homepage: http://studwww.rug.ac.be/~bgdmeyer E-mail: bjorn DOT demeyer AT rug DOT ac DOT be Licentiate Chemistry. Coordinator of the "Tales of Artah: First Sword" CRPG project. "I've shaven. I'm happy. I have no religion. Don't pray for me." Illusion of Gaia 2