Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

EnvironmentVariables.Name

Queries name of environment variable with given index.

Component Version macOS Windows Linux Server iOS SDK
EnvironmentVariables 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "EnvironmentVariables.Name"; Index )   More

Parameters

Parameter Description Example
Index The zero based index of the environment variable in range 0 to EnvironmentVariables.Count-1. 0

Result

Returns text or error.

Description

Queries name of environment variable with given index.

Examples

Query name of first variable:

Set Variable [$name; Value:MBS("EnvironmentVariables.Name"; 0)]

See also

Release notes

Example Databases

This function is free to use.

Created 8th April 2015, last changed 8th April 2015


EnvironmentVariables.Count - EnvironmentVariables.Names

💬 Ask a question or report a problem