wayne@cs.odu.edu (C Wayne Huling) (11/22/89)
I got two questions that are not entriely related but I have no idea how to do this. 1) How can I use DOS environment variables in a pascal program. In particular I want to put the server program in one directory and the client programs in another. How can I use the dos file varialbe in pascal. 2) How do I link all the graphics packages into a standalone executable file that can run without the support files?? Wayne ---> Sometimes I have evil thoughts...... ---> GC.
mikej@vax1.acs.udel.EDU (Michael Jacobs) (11/23/89)
In article <10499@xanth.cs.odu.edu> wayne@cs.odu.edu (C Wayne Huling) writes: >1) How can I use DOS environment variables in a pascal program. In particular > I want to put the server program in one directory and the client programs > in another. How can I use the dos file varialbe in pascal. Use the GetEnv function (dos unit). writeln ('environment for whatever is ', GetEnv(whatever)); ^ a string, the environment variable -- Mike J | The Grey Sysop... | Phone...RING!...yep yep yep yep yep! |