Path: utzoo!utgpu!news-server.csri.toronto.edu!qucdn!spraggej Organization: Queen's University at Kingston Date: Friday, 15 Feb 1991 09:59:56 EST From: John G. Spragge Message-ID: <91046.095957SPRAGGEJ@QUCDN.QueensU.CA> Newsgroups: comp.lang.pascal Subject: Re: Turbo Pascal References: <1991Feb14.190219.29734@porthos.cc.bellcore.com> In article <1991Feb14.190219.29734@porthos.cc.bellcore.com>, rcerami@chaucer.uucp (24383-richard cerami(B354)m000) says: > >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. Turbo Pascal's "smart linker" excludes unused identifiers. > 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? 65535 characters (64 kilobytes). You can't increase the size, but you can break your code up into smaller units (recommended), or you can use the include {$I filename } facility to break a single unit up into several source files. disclaimer: Queen's University supplies me with computer services, not my opinions. John G. Spragge