Path: utzoo!utgpu!watmath!watdcsu!dmurdoch From: dmurdoch@watdcsu.waterloo.edu (D.J. Murdoch - Statistics) Newsgroups: comp.lang.pascal Subject: Re: Chaining TP programs Message-ID: <5392@watdcsu.waterloo.edu> Date: 5 Jan 89 14:01:58 GMT References: <13179@cup.portal.com> <7003@pyr.gatech.EDU> Reply-To: dmurdoch@watdcsu.waterloo.edu (D.J. Murdoch - Statistics) Organization: U. of Waterloo, Ontario Lines: 15 In article <7003@pyr.gatech.EDU> mlw@pyr.UUCP (Michael Williams) writes: > In TP4.0/5.0, the "exec" >command is much more useful. You simply do "exec(path, commandline)". >The command line is optional, and non-turbo programs can be called. Remember to limit the size of your heap before you use "exec". Without a $M directive or a change to the high heap limit memory size compile option, there won't be enough memory for the program to run. The default is for a Turbo program to assign all free memory to the heap. I believe I've read that Turbopower's Turbo Professional library contains routines to dynamically free up memory for exec to use, but I don't know the details. Duncan Murdoch