|resources:||Bugs Mailing List Source Code Sidebar|
Bridge Classes: TJSDouble
This class contains a floating point value (accessed by the property
can be accessed and modified by both native code (Delphi / Kylix) and script. A change from either codespace
is immediately reflected in the other codespace. This class will provide basic functionality even when not
- Connected: Boolean
When true the object is connected to an instance of
TJSEngine, permitting interaction with script code.
- Destroying: Boolean
Developers should not need to access this property. It is used when an instance of
TJSEngineis shut down.
- Engine: TJSEngine
Use this property to access the engine to which the
- JScriptVal: jsval
Only advanced developers should use this property. It can be used in SpiderMonkey callback functions, or API calls, for instance.
- JSName: string
- JSObject: PJSObject
Only advanced users should use this property. A developer can use this value when working with the SpiderMonkey API.
- Parent: TJSObject
The parent is the scope from which the current
TJSDoubleis accessible. If no parent was assigned when the
TJSDoublewas created it will default to
- Value: Double
- constructor Create(AValue: PJSObject; AEngine: TJSEngine; const AName: string);
Creates a new
TJSDoubleat the global scope named
- constructor Create(AValue: PJSObject; AEngine: TJSEngine; const AName: string; AParent: TJSObject);
Creates a new
TJSDoubleat the specified scope named
- procedure Connect(AEngine: TJSEngine; AName: string; AParent: TJSObject);
procedure Connect(AEngine: TJSEngine; AName: string);