Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

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.
Example:
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
else
// 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




Links
MBS FileMaker Plugins