Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!lll-lcc!pyramid!oliveb!felix!billw From: billw@felix.UUCP Newsgroups: comp.lang.pascal,comp.sys.ibm.pc Subject: Re: How to exit turbo pascal without reloading COMMAND.COM ? Message-ID: <2324@felix.UUCP> Date: Sat, 21-Feb-87 13:08:00 EST Article-I.D.: felix.2324 Posted: Sat Feb 21 13:08:00 1987 Date-Received: Sun, 22-Feb-87 03:03:12 EST References: <610@calma.UUCP> Sender: root@felix.UUCP Reply-To: billw@felix.UUCP (Bill Weinberger) Organization: FileNet Corp., Costa Mesa, CA Lines: 26 Xref: watmath comp.lang.pascal:58 comp.sys.ibm.pc:1827 In article <610@calma.UUCP> ho@calma.UUCP (Sidney N. Ho) writes: >When I exit from Turbo Pascal, it always try to read Drive A to reload >the COMMAND.COM. The same thing happens even if I make a .COM file out >of my program. I found it is annoying. > >Is there a way to get around with it? Thanx. If you mean COMMAND.COM always loads when you exit the Turbo Pascal editor/compiler (TURBO.COM), I don't think there is a way to fix this. You can have COMMAND.COM be reloaded from RAMDISK instead of diskette, but that's another topic. If you mean COMMAND.COM always loads when you exit a program compiled with Turbo (say FOO.COM), that can be fixed by changing the amount of memory it allocates when it starts up. On the (O)ptions screen, after you pick (C)om-file, set the M(A)xiumum free memory to something smaller then the default. This is the amount of memory that the program will attempt to allocate for the stack and heap. A value of 1000 (64kb) will work for almost any programs, 400 (16kb) should be sufficient for most, 100 (4kb) should work for quite a few smaller ones. -- ========================================================================= Regards, Bill Weinberger FileNet Corporation ...! {decvax, ihnp4, ucbvax} !trwrb!felix!billw "We have to shout above the din of our Rice Krispies."