Xref: utzoo comp.lang.pascal:4093 comp.sys.ibm.pc.misc:1643 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rutgers!aramis.rutgers.edu!remus.rutgers.edu!clong From: clong@remus.rutgers.edu (Chris Long) Newsgroups: comp.lang.pascal,comp.sys.ibm.pc.misc Subject: Re: TP overlays are not safe! Keywords: tp, overlays, bug Message-ID: Date: 13 Sep 90 02:00:01 GMT References: <1990Sep10.101723.11142@diku.dk> Followup-To: comp.lang.pascal Organization: Rutgers Univ., New Brunswick, N.J. Lines: 13 I've encountered another bug in Turbo Pascal 5.5. The program in question was well withn TP's weenie memory requirements, and to be sure I broke it up into three units (the main unit was under 10k!). The problem: when compiled, TP gives me a strange error (like "line or and pos funct" file not found) and then proceeds to remove my program from memory. Apparently TP5.5 doesn't like the fact that I'm doing 40 or so nested while-do loops; perhaps it has some type of stack which keeps track of this nesting and which gets so large that it offs a chunk of memory (which the main unit is in!). Has anyone else had a similar problem? -Chris