Technical Notes Database TN260D.txt Exec procedure not executing subprograms Category :Pascal Platform :All Product :Turbo Pascal 5.5 Description: Q. Why doesn't the Exec procedure execute my subprograms? A. Make certain that you use the {$M} directive to set the maximum heap size to the lowest possible value. If this is done, check the value of the variable DosError to diagnose other problems. What is DosError Returning after the call: 8) Not enough Memory: User needs to lower MAX Heap {$M Stack, Min, Max} 2) File not found: User needs to specify the fill Path and extension of the command. If you're trying to execute a DOS internal command, you need to use COMMAND.COM (see DIR example in manual). Reference: 7/16/98 4:35:30 PM
Last Modified: 01-SEP-99