mobileFX JavaScriptX - Google V8 JavaScript Embedded Framework
JavaScriptXLib ActiveX DLL / ScriptControl Object / Modules Property
In This Topic
    Modules Property
    In This Topic
    Description

    Contains a collection of Module objects.

    Property type
    Read-only property
    Syntax
    Visual Basic
    Public Property Modules As Modules
    Remarks

    There is always at least one module. If a module is not explicitly declared, an implicit Global module exists that is used for all added scripting code. The Global module can be accessed using the GlobalModule string constant to the Modules collection or from CodeObject property.

    Currently in JavaScriptX every module redirects to GlobalModule. You can add modules but their code is added in GlobalModule.

    See Also