addellist
addellist |
Purpose
Synopsis
int addellist(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 appends a new element to the end of a list: it becomes the last element of the list The function fails if the list is not dynamic or the element is not of a compatible type.
Related topics