lreverse - Reverse the order of a list
Contents
Description
The lreverse command returns a list that has the same elements as its input list, list, except with the
elements in the reverse order.
Examples
lreverse {a a b c}
→cbaalreverse {a b {c d} e f}
→fe{cd}baKeywords
element, list, reverse
Tcl 8.5 lreverse(3tcl)
Name
lreverse - Reverse the order of a list
See Also
list(3tcl), lappend(3tcl), lassign(3tcl), ledit(3tcl), lindex(3tcl), linsert(3tcl), llength(3tcl), lmap(3tcl), lpop(3tcl), lrange(3tcl), lremove(3tcl), lrepeat(3tcl), lreplace(3tcl), lsearch(3tcl), lseq(3tcl), lset(3tcl), lsort(3tcl)
Synopsis
lreverselist ________________________________________________________________________________________________________________
