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  

Validate.Exit

Quits the application with the given error code.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Validate 2.2 Yes No Yes, macOS only No No

MBS( "Validate.Exit" )

Parameters

none

Result

Returns OK or exists FileMaker.

Description

Quits the application with the given error code.
Normally you pass 173 to quit with error code 173, so the Finder shows an error message about it. You can of course use this function to exit with other error codes. Any value between 0 and 255 is okay. If you pass not a number (e.g. a string), the function returns OK. This allows the function to be chained with other Validate functions.

Examples

Exists if checking failed:

MBS( "Validate.Exit"; MBS( "Validate.CheckReceipt"; MBS( "Validate.FindReceipt" ); "1.0"; "de.monkeybreadsoftware.test" ) )

See also

Example Databases

Created 18th August 2014, last changed 18th August 2014


Validate.CheckReceipt   -   Validate.FindReceipt

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins