Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   Crossplatform   Server (Not)   Client   Components   Old   Guides
New in version: 4.0   4.1   4.2   4.3   4.4   5.0   5.1   5.2   5.3   5.4   6.0   6.1   6.2   6.3   6.4   6.5    Statistic  


Component: FM Variables
Version: 1.2
Mac OS X: Yes
Windows: Yes
Server: Yes
FileMaker Cloud: Yes

MBS( "FM.VariableSet"; Name; Value )


Parameter Description Example value
Name the name of the variable
Value the value to assign to the variable


Stores a named variable that can be retrieved later using FM.VariableGet.
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. All values are stored in their native data types (up to version 4.4 only text). You will need to convert them to the desired type when you want use them with comparison or math operators.
Use FM.VariableClear to clear the variable.

See also FM.VariableClear, FM.VariableExists, FM.VariableGet, FM.VariableList, FM.VariableReset.


Set a variable

MBS( "FM.VariableSet" ; "myVar"; "Hello" )

See also

FM.VariableReset   -   FSEvents.Create

Feedback: Report problem or ask question.

MBS Realbasic Chart Plugins - Pfarrgemeinde Messdiener Nickenich