Topics   All functions   Mac OS X   Windows   Crossplatform   Server   Components   Guides   Statistic  
New in version: 3.0   3.1   3.2   3.3   3.4   3.5   4.0   4.1   4.2   4.3   4.4  

FM.VariableSet

Component: FM
Version: 1.2
Mac OS X: Yes
Windows: Yes
Server: Yes

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

Parameters

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

Description

Stores a named text 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 valuables are stored as 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.

Examples

Set a variable

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

Feedback: Report problem or ask question.




Links
MBS REALbasic Plugins - Pfarrgemeinde Messdiener Nickenich