Initializing help system before first use

XPRMselectprob

XPRMselectprob


Purpose
Select the active problem.
Synopsis
int XPRMselectprob(XPRMmodel model, int typcode, void *prob);
Arguments
model 
Reference to a model
typcode 
Type code of the object problem ( 0 to activate the main problem)
prob 
Reference to the object problem (ignored if typcode is 0)
Return value
0 if successful, 1 otherwise.
Further information
1. This function activates a problem: after a successful call, all functions accessing problem information will refer to the selected problem. The function will fail if the requested problem has not been initialised or is empty (for instance before execution of the model).
2. This function cannot be used while the model is running, in particular it will fail if called from the debugger interface (see Section Debugger interface).
Related topics