Initializing help system before first use

resetset

resetset


Purpose
Remove all elements of a set.
Synopsis
int resetset(XPRMcontext ctx, XPRMset set);
Arguments
ctx 
Mosel's execution context
set 
Reference to a dynamic set
Return value
0 if successful, a positive value otherwise.
Further information
The function resets a set by removing all elements it contains. It is not possible to reset a constant or finalised set.