lreverse.3tcl

Langue: en

Version: 8.5 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)


 

NAME

lreverse - Reverse the order of a list

SYNOPSIS

lreverse 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.

EXAMPLES

 
 lreverse {a a b c}
       → c b a a
 lreverse {a b {c d} e f}
       → f e {c d} b a
 
 

SEE ALSO

list(3tcl), lsearch(3tcl), lsort(3tcl)

KEYWORDS

element, list, reverse