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: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

Phidget.Loaded

Checks whether Phidgets library is loaded.

Component Version macOS Windows Linux Server iOS SDK
Phidget 13.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ❌ No
MBS( "Phidget.Loaded" )

Parameters

none

Result

Returns 1, 0 or error.

Description

Checks whether Phidgets library is loaded.
Returns 1 if loaded.

Examples

Load the library if needed:

If [ MBS( "Phidget.Loaded" ) = 0 ]
    # load it now
    Set Variable [ $r ; Value: MBS( "Phidget.Load"; "/Library/Frameworks/Phidget22.framework") ]
End If

See also

Example Databases

This function is free to use.

Created 16th August 2023, last changed 27th August 2023


Phidget.Load - Phidget.Open

💬 Ask a question or report a problem