Query: lreverse
OS: debian
Section: 3tcl
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
lreverse(3tcl) Tcl Built-In Commands lreverse(3tcl) __________________________________________________________________________________________________________________________________________________NAMElreverse - Reverse the order of a listSYNOPSISlreverse list _________________________________________________________________DESCRIPTIONThe 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 aSEE ALSOlist(3tcl), lsearch(3tcl), lsort(3tcl)KEYWORDSelement, list, reverse Tcl 8.5 lreverse(3tcl)