- 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.
- 4.74.2.17. -