Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2007-05-19
03:26 • Closed ticket [1721466fff]: -unique switch for lappend command plus 8 other ... artifact: ee3fdd1b51 user: dgp
2007-05-18
18:25 • New ticket [1721466fff]. artifact: d0dc7b89f6 user: mocallins

-unique switch for lappend command

Closed / Rejected1721466fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2007-05-18 18:25:07
A new switch for the 'lappend' command that would NOT add a value to the list if that value already exists in the list.
dgpplain2007-05-19 03:26:00
Logged In: YES 
user_id=80530
Originator: NO


there are no "syntax holes"
in [lappend] by which it could
be compatibly extended.  All
arguments to it are currently
legal and mean something already.

See [::struct::set include] for
support for the operation you seek.
Log in (anonymous is fine) to add a comment.