Function CDM_LappendUnique


Definition:#include <CDM.h>
Prototype:int CDM_LappendUnique(Tcl_Obj *List, Tcl_Obj *Obj);
Arguments:

List: List where the element is going to be appended. (Tcl_Obj *)
Obj: The element that is to be appended. (Tcl_Obj *)

C/C++ API Sections
Tcl API Sections
Description
Return Value
Notes
See Also
Index

Description:

This function can be used in order to append a Tcl Object at the end of a valid Tcl List Object. The new element will be appended only if it is not already contained in the list.

Return Value:

The return value from this function will be a standart Tcl completion code (of type int) with one of the values TCL_OK and TCL_ERROR. If an error occurs, the return value will be TCL_ERROR and an error message describing the error will be left at the current Tcl interpreter (CDM_Interp). If all annotators run without errors, TCL_OK will be returned.

See Also:

CDM_Lsearch


Generated by: petasis@aias on Wed Aug 16 10:31:57 PM EEST 2006.