Initializing help system before first use

executorinitlocal

executorinitlocal


Purpose
Initialize the given Executor in local mode.
Synopsis
procedure executorinitlocal(exec:Executor)
Argument
exec 
The Executor to initialize
Example
executorinitlocal( myexecutor )
if myexecutor.status<>EXECUTOR_OK then
  writeln("Error returned by Executor: ",myexecutor.lasterror)
  exit(1)
end-if
Further information
1. After calling, check the value of exec.status for any errors.
2. In local mode, submodels are used to simulate an Xpress Executor component.
3. After initializing, the local Executor will have no configuration, so call executorsetexecmode and executorsetmodelfile to supply some.
Related topics