MCSInstance

(Engine-Level Function)

Description: Module Calling Structure Instance. This function returns the object value of a module called by another module.
Warning: This function should be used by advanced users only.
Returns: Object value
Usage: Script or steady state.
Function Groups: Compilation and On-Line Modifications,  Advanced Module
Related to: MCSMod
Format: MCSInstance(Code)
Parameters:  
Code
Required. The code value in which the module call is embedded.

Example:

startedInstance = MCSInstance(mcs);

This makes startedInstance an object value that points to a running instance of a module started by the module given by mcs.