pt_buildModuleName()

The function is used in conjunction with panel topology when a multi-monitor mode has been chosen. The function creates a module with the specified name and number.

Synopsis

string pt_buildModuleName(string sModuleName, int iModuleNumber = 1);

Parameters

Parameter Description
sModuleName The name of the module.
iModuleNumber The number of the module.

Return value

In case of errors, the function returns -1 otherwise, 0.

Erros

Missing or wrong arguments

Description

The function is used in conjunction with panel topology when a multi-monitor mode has been chosen. The function creates a module with the specified name and number.

EXAMPLe

The following example creates the module "NewModul_2". NewModule_2 since the second parameter is the 2.

main()
{
  string nam = "NewModul";
  DebugN("The new module",pt_buildModuleName(nam,2));
}

Assignment

Availability

UI