Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
11.4
11.5
12.0
12.1
12.2
12.3
12.4
12.5
13.0
13.1
Statistic
FMM
Blog
IsError
Checks whether last plugin function returned error.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Plugin | 3.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "IsError" )
Parameters
none
Result
Returns 1 or 0.
Description
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.
See also ClearErrors and HadErrors functions.
Examples
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
- XL.Book.AddPictureContainer
- XL.Book.DeleteSheet
- XL.Book.SaveToFile
- XL.LoadBook
- XML.ExtractText
- XML.Format
- XML.GetPathValue
- XML.Import
- XML.Import.Work
- XML.SubTree
Release notes
- Version 12.4
- Fixed a problem where ErrorLog would show IsError function.
Blog Entries
- Using JavaScript with WebKit on FileMaker Server on Linux
- Build archives on the fly
- Moving data from ODBC to FileMaker via script
- Top 10 from the MBS Plugin in 2022
- GraphicsMagick in FileMaker, part 23
- Window Activation Trigger
- Script trigger for moving window
- MBS Plugin 12.4 for Claris FileMaker
- Store containers in a MongoDB
- New MongoDB Example
FileMaker Magazin
- Ausgabe 5/2022, Seite 26 bis 27
- Ausgabe 2/2022, Seite 29, PDF
- Ausgabe 1/2022, Seite 28, PDF
- Ausgabe 1/2022, Seite 21 bis 22, PDF
- Ausgabe 6/2021, Seite 23
- Ausgabe 6/2021, Seite 21
- Ausgabe 4/2021, Seite 24
- Ausgabe 6/2020, Seite 33 bis 35, PDF
- Ausgabe 5/2020, Seite 19, PDF
- Ausgabe 4/2020, Seite 35, PDF
This function does not need a paid license.
Created 18th August 2014, last changed 28th April 2022
