Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


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" )




Returns OK or exists FileMaker.


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.


Exists if checking failed:

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

See also

Example Databases

Validate.CheckReceipt   -   Validate.FindReceipt

Feedback: Report problem or ask question.

MBS Xojo tutorial videos