Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!eru!luth!sunic!tut!ra!uwasa.fi!ts From: ts@uwasa.fi (Timo Salmi LASK) Newsgroups: comp.lang.pascal Subject: Re: Pascal Question Message-ID: <1989Dec1.134808.4158@uwasa.fi> Date: 1 Dec 89 13:48:08 GMT References: <89334.082120JTW106@PSUVM.BITNET> Reply-To: ts@chyde.uwasa.fi (Timo Salmi LASK) Organization: University of Vaasa, Finland Lines: 18 In article <89334.082120JTW106@PSUVM.BITNET> JTW106@PSUVM.BITNET (Jeff Wolfe) writes: >While using TP 5.0's EXEC command, the program seems to 'skip' over the EXEC >statement. I am using the $M compiler directive, but it still won't work. >program testEXEC; >{$M $4000,0,0} > uses DOS; >begin > exec ('Command.com',''); >end. Ah, but it does work. You just have to tell within '' what you want done. And, please see the example for Exec in the reference manual so that you won't omit the \C that the command.com requires. ................................................................... Prof. Timo Salmi (Site 128.214.12.3) School of Business Studies, University of Vaasa, SF-65101, Finland Internet: ts@chyde.uwasa.fi Funet: vakk::salmi Bitnet: salmi@finfun