## Tcl9.0.3/Tk9.0.3 Documentation > Tcl Commands > lreverse

### Tcl/Tk Applications | Tcl Commands | Tk Commands | [incr Tcl] Package Commands | SQLite3 Package Commands | TDBC Package Commands | tdbc::mysql Package Commands | tdbc::odbc Package Commands | tdbc::postgres Package Commands | tdbc::sqlite3 Package Commands | Thread Package Commands | Tcl C API | Tk C API | [incr Tcl] Package C API | TDBC Package C API

### NAME

lreverse — リストの順序を引っくり返す Reverse the order of a list

### 構文 SYNOPSIS

lreverse list

### 説明 DESCRIPTION

この lreverse 命令は入力したリスト list と同じ要素を逆順にしたリストを戻す｡ 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, lappend, lassign, ledit, lindex, linsert, llength, lmap, lpop, lrange, lremove, lrepeat, lreplace, lsearch, lseq, lset, lsort

### KEYWORDS

element, list, reverse
Copyright © 2006 by Donal K. Fellows. All rights reserved.