Previous: 4.74.2.16. GetDate procedure To the Table of Contents Next: 4.74.2.18. GetFAttr procedure
4.74.2.16. GetDate procedure Table of Contents 4.74.2.18. GetFAttr procedure

- 4.74.2.17. -
Table of Contents
4. Standard Units
4.74. WinDos - MS-DOS function emulation for OS/2 and Win32
4.74.2. WinDos Unit Procedures and Functions
4.74.2.17. GetEnvVar function


4.74.2.17. GetEnvVar function

Targets: MS-DOS, OS/2, Win32


WinDos Unit

Returns the value of a specified environment variable.

Declaration:
function GetEnvVar(var  Name: PChar): PChar;
Remarks:
Name is the name of the variable to retrieve. If Name does not exist as an environment variable then an empty string is returned.


Previous: 4.74.2.16. GetDate procedure To the Table of Contents Next: 4.74.2.18. GetFAttr procedure
4.74.2.16. GetDate procedure Table of Contents 4.74.2.18. GetFAttr procedure

- 4.74.2.17. -