Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

FM.VariableGet

Retrieves the value of named variable that was declared using FM.VariableSet.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
FM Variables 1.2 Yes Yes Yes Yes Yes

MBS( "FM.VariableGet"; Name )

Parameters

Parameter Description Example value
Name The Name of the variable

Description

Retrieves the value of named variable that was declared using FM.VariableSet.
Unlike the variables that were introduced in FileMaker 8 these variables are not limited to the File or Script. In other words they can be retrieved from any file in the system regardless of where they were declared.

You can check with FM.VariableExists whether a variable exists.

Examples

Retrieve a variable

MBS( "FM.VariableGet" ; "myVar" )

See also

Example Databases


FM.VariableExists   -   FM.VariableList

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins