paCurrentConfigFiles()

The function shows what config files were read by the current manager.

Synopsis

dyn_string paCurrentConfigFiles();

Return Value

The function returns a list of the config files read by the current manager and in case of errors -1.

The following example returns the last read "LoadCtrlLibs" from all given config files.

main(mapping event)
{
 string libs;
 int rc = paCfgReadValue(paCurrentConfigFiles(), "ascii", "LoadCtrlLibs", libs);
 if (rc == -1)
 {
 dyn_errClass lastError = getLastError();
 DebugTN("lastError", lastError);
 }
 DebugN("Return value:", rc, "libs", libs);
} 

Assignment

Project administration functions

Availability

CTRL