Initializing help system before first use

executorlist

executorlist


Purpose
Request a list of all the model executions currently present in the Xpress Executor component
Synopsis
function executorlist(exec:Executor):list of ModelExecution
Argument
exec 
The Executor to initialize
Return value
a list of the id and status of every execution in the repository.
Example
executions := executorlist( myexecutor )
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