Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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