Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1    Statistic  


Queries name of environment variable with given index.

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


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


Returns text or error.


Queries name of environment variable with given index.


Query name of first variable:

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

See also

Example Databases

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

EnvironmentVariables.Count   -   EnvironmentVariables.Names

Feedback: Report problem or ask question.

MBS Xojo blog