Hinweis:Dieser Abschnitt ist nur in englischer Sprache verfügbar. Wir bitten um Ihr Verständnis.
3.5.7.8 EnvVar
Contents
Description
This function returns the string value stored in the corresponding Windows environment variable. If this string is not a valid Windows environment variable string, missing will be returned.
Syntax
string EnvVar("variableName")$
Parameters
variableName
- is the name of the Windows environment variable
Return
Return the string value stored in the Windows environment variable. If this string is not a valid Windows environment variable string, missing will be returned.
Example
ty EnvVar("computername")$;//Return the computer name of local machine ty EnvVar("appdata")$;//Return the directory path to the Application Data folder