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: 9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4   10.5   10.6    Statistic    FMM    Blog  

Plugin.isDebug

Checks whether this is debug version of MBS Plugin.

Component Version macOS Windows Linux Server FileMaker iOS SDK
Plugin 7.1 Yes Yes Yes Yes Yes
MBS( "Plugin.isDebug" )   More

Parameters

none

Result

Returns 1, 0 or error.

Description

Checks whether this is debug version of MBS Plugin.
The debug version is available on request and given to users to find the roots of a bug.

Examples

Query debug status

MBS("Plugin.isDebug")

Example result: 0

Script to report back status of MBS Plugin:

# Script to trigger somewhere to report back details about MBS Plugin
Set Variable [ $version ; Value: GetAsText(MBS("Version")) ]
Set Variable [ $platform ; Value: MBS( "Platform" ) ]
Set Variable [ $buildNumber ; Value: MBS( "Plugin.BuildNumber" ) ]
Set Variable [ $path ; Value: MBS( "Plugin.Path" ) ]
Set Variable [ $IsRegistered ; Value: MBS( "IsRegistered" ) ]
Set Variable [ $Name ; Value: MBS( "Plugin.LicenseeName" ) ]
Set Variable [ $Debug ; Value: MBS( "Plugin.isDebug" ) ]
If [ $version = "?" ]
    Set Variable [ $text ; Value: "MBS Plugin not installed. " & Get ( ApplicationVersion ) ]
Else
    Set Variable [ $l1 ; Value: "MBS Plugin " & $version & ", build " & $buildNumber & " installed in " & Get ( ApplicationVersion ) ]
    Set Variable [ $l2 ; Value: "¶Platform: " & $Platform & "¶Path: " & $path ]
    Set Variable [ $l3 ; Value: If($IsRegistered; "¶Licensed for: " & $Name ; "¶No license set.") ]
    Set Variable [ $l4 ; Value: "¶Debug: " & If($debug; "yes"; "no") ]
    Set Variable [ $text ; Value: $l1 & $l2 & $l3 ]
End If
Exit Script [ Text Result: $text ]

See also

Created 23th February 2017, last changed 26th June 2018


Plugin.ZLibVersion   -   PortMidi.Abort

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins

Start Chat