---
name: "lreverse"
section: "3tcl"
platform: "linux"
package: "tcl8.6-doc"
version: "8.6.16+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/lreverse"
---

# lreverse(3tcl)

Reverse the order of a list

```

```

## 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)](/list/3tcl.md), [lsearch(3tcl)](/lsearch/3tcl.md), [lsort(3tcl)](/lsort/3tcl.md)

## KEYWORDS

element, list, reverse
