FileRootModule

(Engine-Level Function)

Description: Parses the document file that contains the given module to find the root module in that file. Returns the module value of the root module.
Returns: Pointer
Usage: Script Only.
Function Groups: Compilation and On-Line Modifications,  Advanced Module, File I/O
Related to: SystemSelf
Format: FileRootModule(Module)
Parameters:  
Module
Required. Any expression for the module.
Comments: The returned module value from this statement may be the parent or some ancestor of Module.

Example:

    ModRoot = FileRootModule(Self());

This function returns a pointer to the root module of the current module.