insellist
| insellist | 
  Purpose
 
  
  Synopsis
 
 int insellist(XPRMcontext ctx, XPRMlist list, int type, XPRMalltypes *elt);
 
  Arguments
 
 | 
     ctx 
     | 
     Mosel's execution context
     | 
| 
     list 
     | 
     Reference to a list
     | 
| 
     type 
     | 
     Type of the element to add
     | 
| 
     elt 
     | 
     The element to add
     | 
  Return value
 
 
 0 if successful, a positive value otherwise.
 
  Further information
 
 
 This function inserts a new element at the beginning of a list: it becomes the first element of the list. The function fails if the list is not dynamic or the element is not of a compatible type.
 
 
  Related topics
 
  
