FM.Evaluate
-----------

Similar to FileMaker's built-in Evaluate.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [FM](component_FM.md) | [1.3](newinversion13.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "FM.Evaluate"; Expression ) 

**MBS**( **"FM.Evaluate";** /\* Similar to FileMaker's built-in Evaluate. \*/  
**$Expression**) /\* The expression to evaluate.  
Can be in local language of FileMaker Pro or english.   
For Server must always be in english. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Expression | The expression to evaluate.   Can be in local language of FileMaker Pro or english.    For Server must always be in english. |  |

### Description

Similar to FileMaker's built-in Evaluate.  
This call gets logged in trace.  
### Examples

Evaluate an expression:

 MBS ( "FM.Evaluate"; "1+2" )  
### See also

- [JS.Evaluate](JSEvaluate.md)

This function checks for a license.

Created 18th August 2014 , last changed 12nd June 2021

  
[FM.ErrorMessage](FMErrorMessage.md) - [FM.ExecuteFileSQL](FMExecuteFileSQL.md)

[HTML Version](FMEvaluate.shtml)