Anonymous user
Remove duplicate elements: Difference between revisions
→[[Tcl]]
m (fixing capitalization TCL -> Tcl) |
|||
Line 104:
The concept of an "array" in TCL is strictly associative - and since there cannot be duplicate keys, there cannot be a redundant element in an array. What is called "array" in many other languages is probably better represented by the "list" in TCL (as in LISP).
set result [lsort -unique $
|