Platforms to show: All Mac Windows Linux Cross-Platform

Back to JavaScriptEngineMBS class.

JavaScriptEngineMBS.JavaScriptEngineDelegateMBS(Name as String, Params() as Variant, tag as Variant) as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
delegate JavaScript MBS Tools Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The delegate definition for RegisterFunction function.
Example
Public Function testFunction(Name as String, Params() as Variant, tag as Variant) as Variant
MsgBox params(0).StringValue
Return "ok"
End Function

We pass name of function, parameters and tag value.
Result is returned to JavaScript.

Some methods using this delegate:

The items on this page are in the following plugins: MBS Tools Plugin.


The biggest plugin in space...