<< Click to Display Table of Contents >> Navigation: ThinBASIC Core Language > BuiltIn Functions > System functions > System > System.Info > Environ |
Description
Retrieve information from the operating system's master environment table.
Syntax
sData = System.Info.Environ(EnvironVariableName | EnvironVariableNumber)
Returns
String.
Parameters
System.Info.Environ has only one parameter but it can be either a string or a number.
In case of string, it is assumed it is the name of the environment variable.
In this case it will return the value of the variable.
In case of number, it is assumed it is the position of the variable in the environment table.
In this case it will return the value of the variable in "position" environment table.
Name |
Type |
Optional |
Meaning |
EnvironVariableName |
String |
No |
|
EnvironVariableNumber |
Numeric |
No |
Remarks
Restrictions
Read only.
See also
Examples