Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!cs.utexas.edu!oakhill!val!ben
From: ben@val.UUCP (Ben Thornton)
Newsgroups: comp.sys.ibm.pc
Subject: Re: Converting Turbo C to TopSpeed Modula-2
Message-ID: <377@val.UUCP>
Date: 2 Oct 89 23:32:03 GMT
References: <19769@unix.cis.pitt.edu>
Organization: Video Associates Labs Inc. - Austin, Tx
Lines: 18

ern@unix.cis.pitt.edu (Ernest J Obusek) writes:


>I'd like to convert some programs written in Turbo C to TopSpeed Modula-2, but
>there is a function in the TC library that I absolutely need.  Can anyone
>confirm for me whether or not TopSpeed has something similar to TC's 'spawn'
>function?  This is a call that will allow a parent program to load and run
>a child program.  When the child is finished executing, the parent resumes
>execution where it left off.  

You can use the library routine Lib.Execute which comes with the standard
Topspeed distribution.  You need to allocate storage from the heap to
run the program in before you make the call, however.
-- 

Ben Thornton             packet:  WD5HLS @ KB5PM
Video Associates Labs      uucp:  ...!cs.utexas.edu!oakhill!val!ben
Austin, TX              fidonet:  1:382/40 - The Antenna Farm BBS