Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!spool.mu.edu!uunet!maverick.ksu.ksu.edu!ux1.cso.uiuc.edu!osiris.cso.uiuc.edu!aindiana From: aindiana@osiris.cso.uiuc.edu (Daiv Stoner) Newsgroups: comp.lang.pascal Subject: Re: Turbo Pascal Message-ID: <1991Feb15.143729.173@ux1.cso.uiuc.edu> Date: 15 Feb 91 14:37:29 GMT References: <1991Feb14.190219.29734@porthos.cc.bellcore.com> Sender: news@ux1.cso.uiuc.edu (News) Organization: University of Illinois at Urbana Lines: 32 I tried email, but it bounced, so here are your answers: >I am currently using Turbo Pascal 5.5 and have several questions >about it. > 1. If I compile a program that USES a unit, will the unused procedures > of that unit be included in the output (.exe)? No. The built-in linker "automatically removes unused code and data when building an .EXE file." Check out pages 220-221 of the TP Reference Guide. If it's not on those pages, try the index under "Smart linking" or "Linking, smart." Note: The smart linker is disabled when you compile to memory. > 2. There is a limit to the size/amount of code you can edit > using the Turbo editor. What is the limit? Can it be increased? The TP User's Guide says you can edit code up to 64K. (page 239, Appendix B: Using the Editor) Doesn't mention whether it can be increased. > >Thanks (in advance) No problem. And, by the way, I'm not trying to be nasty by giving you the page numbers in the manuals. Just thought you might want to look the stuff up to get more info. >Rich. -- Daiv Stoner aindiana@osiris.cso.uiuc.edu daiv@coplex.UUCP