CoreLocation.SetFailEvaluate
----------------------------

Sets the expression evaluated when CoreLocation wants to report an error.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [CoreLocation](component_CoreLocation.md) | [6.2](newinversion62.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "CoreLocation.SetFailEvaluate"; Expression ) 

**MBS**( **"CoreLocation.SetFailEvaluate";** /\* Sets the expression evaluated when CoreLocation wants to report an error. \*/  
**$Expression**) /\* The expression to evaluate.  
Can be in local language of FileMaker Pro or english.   
For Server must always be in english.e.g. "Let ( $$Done = 1 ; 1 )" \*/ 

### 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. | "Let ( $$Done = 1 ; 1 )" |

### Result

Returns OK or error.

### Description

Sets the expression evaluated when CoreLocation wants to report an error.  
### See also

- [CoreLocation.SetFailHandler](CoreLocationSetFailHandler.md)

### Blog Entries

- [MBS FileMaker Plugin, version 6.2pr2](https://www.mbsplugins.de/archive/2016-03-29/MBS_FileMaker_Plugin_version_6/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 29th March 2016 , last changed 4th April 2018

  
[CoreLocation.RegionMonitoringEnabled](CoreLocationRegionMonitoringEnabled.md) - [CoreLocation.SetFailHandler](CoreLocationSetFailHandler.md)

[HTML Version](CoreLocationSetFailEvaluate.shtml)