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.SetValue
Sets an environment variable.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| EnvironmentVariables | 5.1 | Yes | Yes | Yes | Yes | Yes |
MBS( "EnvironmentVariables.SetValue"; Name; Value ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| Name | The name of the environment variable. | "test" |
| Value | The new value as text. | "Hello" |
Result
Returns OK or error.
Description
Sets an environment variable.Only visible within FileMaker application and subprocesses launched after the change.
Examples
Set a new Variable:
MBS( "EnvironmentVariables.SetValue"; "test"; "Hello World" )
See also
- EnvironmentVariables.ClearValue
- EnvironmentVariables.Name
- EnvironmentVariables.Names
- EnvironmentVariables.Value
- PHP.Init
Example Databases
Created 8th April 2015, last changed 8th April 2015
EnvironmentVariables.Names - EnvironmentVariables.Value
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins