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.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3    Statistic  

EnvironmentVariables.SetValue

Sets an environment variable.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
EnvironmentVariables 5.1 Yes Yes Yes Yes Yes

MBS( "EnvironmentVariables.SetValue"; Name; Value )

Parameters

Parameter Description Example value
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

Example Databases


EnvironmentVariables.Names   -   EnvironmentVariables.Value

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins