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.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1    Statistic  


Adds a value to a given value atomically.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
FM Variables 8.3 Yes Yes Yes Yes Yes
MBS( "FM.VariableAdd"; Name; Value )   More


Parameter Description Example value
Name the name of the variable "test"
Value the value to add to the variable 5


Returns new value or error.


Adds a value to a given value atomically.
Internally does similar to FM.VariableGet to read value, than adds given parameter and stores like FM.VariableSet, all in one operation, so no other script or calculation can get between.
Creates variable, if it's not existing yet.

See also

Blog Entries

Created 8th June 2018, last changed 8th July 2018

FM.UpdateRecords3   -   FM.VariableClear

Feedback: Report problem or ask question.

MBS Xojo Plugins