Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
lreverse(n)		     Tcl Built-In Commands		   lreverse(n)

______________________________________________________________________________

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(n),	lsearch(n), lsort(n)

KEYWORDS
       element,	list, reverse

Tcl				      8.5			   lreverse(n)

NAME | SYNOPSIS | DESCRIPTION | EXAMPLES | SEE ALSO | KEYWORDS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=lreverse.tcl86&manpath=FreeBSD+13.1-RELEASE+and+Ports>

home | help