Initializing help system before first use

executorgetinstanceconfig

executorgetinstanceconfig


Purpose
Fetch the Mosel instance re-use configuration of the Xpress Executor component.
Synopsis
function executorgetinstanceconfig(exec:Executor):MoselInstanceConfig
Argument
exec 
The Executor to query
Return value
A record describing in what circumstances (if any) Xpress Executor will re-use Mosel processes for multiple executions
Example
declarations
  cfg: MoselInstanceConfig
end-declarations
executorgetinstanceconfig( myexecutor, cfg)
if myexecutor.status<>EXECUTOR_OK then
  writeln("Error returned by Executor: ",myexecutor.lasterror)
  exit(1)
end-if
Further information
After calling, check the value of exec.status for any errors.
Related topics