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

FM.VariableAdd

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 )

Parameters

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

Result

Returns new value or error.

Description

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

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


FM.UpdateRecords3   -   FM.VariableClear

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins