1lreverse(n) Tcl Built-In Commands lreverse(n)
2
3
4
5______________________________________________________________________________
6
8 lreverse - Reverse the order of a list
9
11 lreverse list
12_________________________________________________________________
13
15 The lreverse command returns a list that has the same elements as its
16 input list, list, except with the elements in the reverse order.
17
19 lreverse {a a b c}
20 → c b a a
21 lreverse {a b {c d} e f}
22 → f e {c d} b a
23
25 list(n), lsearch(n), lsort(n)
26
27
29 element, list, reverse
30
31
32
33Tcl 8.5 lreverse(n)