Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site voder.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!hao!hplabs!nsc!voder!gbs From: gbs@voder.UUCP (George Smith) Newsgroups: net.micro.pc,net.lang.pascal Subject: Re: BORLAND TURBO PASCAL - New release??????? Message-ID: <776@voder.UUCP> Date: Mon, 27-May-85 03:37:07 EDT Article-I.D.: voder.776 Posted: Mon May 27 03:37:07 1985 Date-Received: Thu, 30-May-85 00:29:07 EDT References: <641@ptsfa.UUCP> <180@nicmad.UUCP> <519@utai.UUCP> Distribution: net Organization: National Semiconductor, Santa Clara Lines: 26 Xref: watmath net.micro.pc:4055 net.lang.pascal:303 *** REPLACE THIS LINE NON-RECURSIVELY *** > I would like to know if anyone has tried this new version (3.0) of > Turbo Pascal in CP/M. An earlier version was flawed in that recursion was > not properly implemented: a procedure that called itself using pass-by- > reference (i.e. passing the parameters using var: name ) did not > work properly, and it was even mentioned in the manual briefly under > "differences between standard Pascal and Turbo Pascal". If anyone knows > if this problem has been solved in the new version, could you please > respond on net.lang.pascal? > > Patrick Strauss I have Turbo Pascal 3.0 for CP/M and to quote from page 319 of the brand new manual: Recursion CP/M-80 version only: Because of the way local variables are handled during recursion, a variable local to a subprogram must not be passed as a var-parameter in recursive calls. -- George B. Smith National Semiconductor ...!{ihnp4!nsc | decvax!decwrl!nsc | ucbvax}!voder!gbs