- 4.24.2.17 -
Standard Units
Dos Unit
Dos Unit Procedures and FunctionsGetEnv function
Targets: MS-DOS, OS/2, Win32
Dos Unit
Returns the value of a specified environment variable.
Declaration:
function GetEnv(VarName: string): string;
Remarks:
VarName is the name of the variable to retrieve. If VarName
does not exist as an environment variable then an empty string is returned.
GetEnv returns the string assigned to the environment variable.
Example:
s := GetEnv('COMSPEC'); // Returns COMSPEC
|
|
|
GetDate procedure |
Table of Content |
GetFAttr procedure |
- 4.24.2.17 -