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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
EnvironmentVariables.Name
Queries name of environment variable with given index.
| Component | Version | macOS | Windows | Linux | Server | FileMaker 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
- EnvironmentVariables.Count
- EnvironmentVariables.Names
- EnvironmentVariables.SetValue
- EnvironmentVariables.Value
Example Databases
Release notes
- Version 8.0
- Fixed EnvironmentVariables.Names to not crash on Linux.
Created 8th April 2015, last changed 8th April 2015
EnvironmentVariables.Count - EnvironmentVariables.Names
Feedback: Report problem or ask question.
Links
MBS Xojo tutorial videos