lreverse(n) Tcl Built-In Commands lreverse(n)______________________________________________________________________________NAMElreverse - Reverse the order of a list
SYNOPSISlreverse list
_________________________________________________________________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.
EXAMPLESlreverse {a a b c}
→ c b a a
lreverse {a b {c d} e f}
→ f e {c d} b a
SEE ALSOlist(n), lsearch(n), lsort(n)KEYWORDS
element, list, reverse
Tcl 8.5 lreverse(n)