Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

Validate.Exit

Component: Validate
Version: 2.2
Mac OS X: Works
Windows: Does nothing

MBS( "Validate.Exit"; ErrorCode )

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

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

Feedback: Report problem or ask question.




Links
MBS Realbasic Plugins - Besuchen Sie die JUZ Nickenich Webseite