Initializing help system before first use

resetlist

resetlist


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