| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
Component: EnvironmentVariables
Set and query environment variables from operating system.
| Version | macOS | Windows | Linux | Server | iOS SDK |
| 5.1 / 16.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
| Item | Details |
|---|---|
| EnvironmentVariables.ClearValue Clears a variable by removing it from the environment. | All 5.1 |
| EnvironmentVariables.Count Queries number of environment variables. | All 5.1 |
| EnvironmentVariables.JSON New in 16.1 Queries all variables with values as JSON. | All 16.1 |
| EnvironmentVariables.Name Queries name of environment variable with given index. | All 5.1 |
| EnvironmentVariables.Names Queries list of environment variable names. | All 5.1 |
| EnvironmentVariables.SetValue Sets an environment variable. | All 5.1 |
| EnvironmentVariables.Value Queries value of an environment variable. | All 5.1 |
7 functions shown.
These functions are free to use.
Release notes
- Version 16.1
- Added EnvironmentVariables.JSON function.
- Version 8.0
- Fixed EnvironmentVariables.Names to not crash on Linux.
Blog Entries
Example Databases