Contains a collection of Module objects.
Contains a collection of Module objects.
Visual Basic |
---|
Public Property Modules As Modules |
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.