pt_moduleNumber()

The function is used in conjunction with panel topology when a multi-monitor mode has been chosen. The function creates a mainModule & 2 from "mainModule_2".

Synopsis

pt_moduleNumber(string &sModuleName, int &iModuleNumber);

Parameters

Parameter Description
sModuleName Return value: module name
iModuleNumber Return value:number of the module.

Return value

If the operation has been executed succesfully, the function returns 1 otherwise, 0.

Error

Missing or wrong parameter definitions.

Description

The function is used in conjunction with panel topology when a multi-monitor mode has been chosen. The function creates a mainModule & 2 from "mainModule_2".

EXAMPLE

Creates mainModule & 2 from "mainModule_2".

main()
{
  string sModuleName = "mainModule_2";
  int iModuleNumber;
  pt_moduleNumber(sModuleName, iModuleNumber)
  DebugN(sModuleName, iModuleNumber);
}

Assignment

Availability

UI