Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

JSContextMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class JavaScript MBS MacFrameworks Plugin 15.4 Yes No No Yes, macOS only No
Function: The class for a javascript execution context.
dim c as new JSContextMBS
dim e as JSValueMBS
dim v as JSValueMBS = c.EvaluateScript("1+2", "", nil, e)

if e <> nil then
// show error
MsgBox e.StringValue
// show result
MsgBox str(v.doubleValue)
end if

Feedback, Comments & Corrections

This class has no sub classes.

Some properties using for this class:

Some examples which use this class:

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

JSClassMBS   -   JSObjectMBS

The biggest plugin in space...

MBS FileMaker tutorial videos