home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!orion.oac.uci.edu!nntpsrv
- From: handbook@orion.oac.uci.edu (Handbook)
- Subject: "Exec" in Sun Pascal?
- Nntp-Posting-Host: orion.oac.uci.edu
- Message-ID: <2A953D7F.27527@orion.oac.uci.edu>
- Newsgroups: comp.lang.pascal
- Organization: University of California, Irvine
- Lines: 26
- Date: 21 Aug 92 19:01:19 GMT
-
-
- Hi,
-
- I'm used to using TP, but now I want to try something on this UNIX machine,
- running SunOs 4.1.2 and Sun Pascal.
-
- Is there an equivalent to "exec" in Sun Pascal? How would you do something
- like the following:
-
- Procedure ExecuteChild;
-
- begin
- SetMemTop(HeapPtr); { only works in TP 6.0 }
- SwapVectors;
- Exec('ProgramName, 'CmdLineArgs');
- SwapVectors;
- SetMemTop(HeapEnd);
- end;
-
-
- Anything will be extremely helpful,
-
- Tony
-
- Anthony Toyofuku
- University of California,
-