Artifact 365ef2546aa1c55ef6c235e6f5750a2645d1f9bda846c02a4d68c26a0d476d69:
- File doc/markdown/Tcl/lreverse.md — part of check-in [b84ce0eee1] at 2026-10-04 22:10:02 on branch tip-700 — file location re-organisation (part 1) (user: Torsten, size: 844) [annotate] [blame] [check-ins using]
- File doc/markdown/lreverse.md — part of check-in [5e80e55e41] at 2026-09-26 22:40:07 on branch tip-700 — - added a "title" metadata element to the generated yaml block to satisfy Pandoc when converting to HTML - added markdown2html.tcl as prototype/placeholder of conversion script markdown -> HTML - added some CSS to play with a good visual representation of the generated HTML, starting with the n section pages - fixed man2markdown.tcl not giving the two .TP/.IP parsing places the same treatment (user: Torsten, size: 844) [annotate] [blame] [check-ins using]
CommandName: lreverse title: lreverse ManualSection: n Version: 8.5 TclPart: Tcl TclDescription: Tcl Built-In Commands Links:
- list(n)
- lappend(n)
- lassign(n)
- ledit(n)
- lindex(n)
- linsert(n)
- llength(n)
- lmap(n)
- lpop(n)
- lrange(n)
- lremove(n)
- lrepeat(n)
- lreplace(n)
- lsearch(n)
- lseq(n)
- lset(n)
- lsort(n) Keywords:
- element
- list
- reverse Copyright:
- Copyright (c) 2006 Donal K. Fellows. All rights reserved. ---
Name
lreverse - Reverse the order of a list
Synopsis
::: {.synopsis} ::: [lreverse]{.cmd} [list]{.arg} :::
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