Basic Module Functions

Call                        Starts an instance of the module specified by its first parameter.

Caller                     Takes a given object value for a module and returns the object value of the module by which it was called.

ChildInstances          Returns the object values of module instances that are children of a particular module instance.

CriticalSection          Marks a section of a module as a critical section and will not allow interruption of its execution by other threads.

GetInstance             Returns the object value of a module instance.

GetReturnValue        Returns a module's return value.

HasReturnStatement  Examines a specified object to see if it is currently running a return statement in steady-state.

Instance                  Limits the number of fixed module instances allow to run simultaneously and returns the old limit.

IsChild                    Returns an indication of whether one module is a child module of another.

Launch                    Runs a module instance as a new system module and returns a pointer to it.

NumInstances          Returns the number of module instances currently running.

Parameter               Returns the value of (or may assign a value to) a parameter of a module, specified by the index.

PointList                  Returns an array of tag names within the current scope, given the name of a tag type or group.

Return                    Sets the return value for the module in which it is executed.

RootWindow             Returns the object value of the root (original) module displayed in the same window.

Scope                     Performs a scope resolution and returns a pointer to its member.

Self                        Returns the object value of the current module.

SetInstanceName     Set the name of an instance of a module.

SetReturnValue           Sets the return value of a specified object if the object is not currently running a Return() statement in steady-state.

Slay                       Stops a launched module, and possibly any parent modules.

SystemSelf              Returns the object value of the system module for the given application.

Thread                    Launches a module in its own separate thread.

ThreadHistory          Returns in an array the history of execution for a specified thread.

ThreadIdle               Returns TRUE when the ToDo list for a given thread is empty.

ThreadPriority          Allows advanced users to set a specified thread to one of six priorities, ranging from idle to time critical.