[comp.lang.pascal] need

mead@uxh.cso.uiuc.edu (08/03/90)

I am not a particularly knowledgable about DOS.  Perhaps someone can
help:

In BASIC, you can (I believe - this damn computer came w/o a BASIC
manual) 'chain' from one program to another.  In (UNIX) C, you can do
something similar with system (?).

There must be a way in turbo pascal.  Specifically, I need to have one
program call another without the first program staying resident (as
with exec() or keep()).  I imagine this is done (or could be done) by
placing <string><cr> in the keyboard buffer (but where is that?)
immediately prior to termination.  Sort of like SetKey instead of 
ReadKey.

Another procedure that we are without is SetEnv -- a procedure to
"create" a DOS environmental variable.  If anyone has authored this or
knows how it might be done, I'd like to hear from them.

Thanks,

-alan mead : mead@uxh.cso.uiuc.edu