Manual Pages for UNIX Darwin command on man list
MyWebUniversity

Manual Pages for UNIX Darwin command on man list

list(n) Tcl Built-In Commands list(n)

NAME

list - Create a list

SYNOPSIS

lliisstt ?arg arg ...?

DESCRIPTION

This command returns a list comprised of all the args, or an empty

string if no args are specified. Braces and backslashes get added as

necessary, so that the lliinnddeexx command may be used on the result to re-

extract the original arguments, and also so that eevvaall may be used to

execute the resulting list, with arg1 comprising the command's name and

the other args comprising its arguments. LLiisstt produces slightly dif-

ferent results than ccoonnccaatt: ccoonnccaatt removes one level of grouping

before forming the list, while lliisstt works directly from the original

arguments. For example, the command lliisstt aa bb {{cc dd ee}} {{ff {{gg hh}}}} will return aa bb {{cc dd ee}} {{ff {{gg hh}}}} while ccoonnccaatt with the same arguments will return aa bb cc dd ee ff {{gg hh}}

SEE ALSO

lappend(n), lindex(n), linsert(n), llength(n), lsearch(n), lset(n), | lsort(n), lrange(n), lreplace(n) KKEEYYWWOORRDDSS

element, list

Tcl list(n)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™