ParentModule

(Engine-Level Function)

Description: Returns the parent module of a module.
Returns: Module
Usage: Script or steady state.
Function Groups: Advanced Module
Related to: Caller | ParentObject
Format: ParentModule(Module)
Parameters:  
Module
Required. Any expression for the module.
Comments: The parent module is the module in which Module is defined.

Example:

ZText(10, 20, ParentModule(Self()), 15, 0);

This will display the parent module of the current module on the screen.