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: 8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3   9.4    Statistic  


Checks whether last plugin function returned error.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Plugin 3.4 Yes Yes Yes Yes Yes
MBS( "IsError" )   More




Returns 1 or 0.


Checks whether last plugin function returned error.
Returns 1 if last function returned an error.
Or returns 0 if no error happened.
This makes it easier to detect if the result text is an error message vs. a real result.


Cause an error and handle it:

Set Variable [ $r; Value:MBS( "ZipFile.Open"; "" ) ]
If [ MBS("IsError") ]
    Show Custom Dialog [ Title: "Error"; Message: $r; Buttons: "OK”, "Abbrechen” ]
    Exit Script [ ]
End If

See also

Created 18th August 2014, last changed 21st October 2017

IsClient   -   IsIOS

Feedback: Report problem or ask question.

MBS Xojo Chart Plugins