Initializing help system before first use

getnextparam

getnextparam


Purpose
Get the next parameter of the model.
Synopsis
const char *getnextparam(XPRMcontext ctx, void **ref);
Arguments
ctx 
Mosel's execution context
ref 
Pointer to an area where current location is stored
Return value
The name of the parameter or NULL if there is no subsequent parameter.
Further information
This function returns the next parameter of the running model. The second argument is used to store the current location in the list of parameters; this reference is updated with every call to this function. If this argument references a NULL pointer, the first parameter of the model is returned. This function returns NULL if it is called with the reference to the last parameter in the model as its second argument.