FileRootModule

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 or Steady State

Format:                      FileRootModule(Module)

Parameters:             Module    { Module }  { required }  { no default: }

                                      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.

See Also:

SystemSelf