home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PASCAL / ENV.ZIP / ENV.DOC next >
Encoding:
Text File  |  1988-08-07  |  555 b   |  22 lines

  1. Description of ENV.PAS
  2.  
  3. ENV compiles in Turbo Pascal 4.0 to a unit.  It provides a work-alike
  4.   function of the C statement       getenv()
  5.   
  6. It provides the function 
  7.  
  8.                Function Environment (ParamString : String) : String;
  9.                
  10.                
  11.        Examples:
  12.        
  13.        to get the current path:
  14.           
  15.           NewPath := Environment('PATH');
  16.           
  17.           
  18.        to get the current location of COMMAND.COM
  19.        
  20.           CommandLocation := Environment('COMSPEC');
  21.           
  22.