home *** CD-ROM | disk | FTP | other *** search
- Description of ENV.PAS
-
- ENV compiles in Turbo Pascal 4.0 to a unit. It provides a work-alike
- function of the C statement getenv()
-
- It provides the function
-
- Function Environment (ParamString : String) : String;
-
-
- Examples:
-
- to get the current path:
-
- NewPath := Environment('PATH');
-
-
- to get the current location of COMMAND.COM
-
- CommandLocation := Environment('COMSPEC');
-
-