array(3tcl) Tcl Built-In Commands array(3tcl) ______________________________________________________________________________ NAME array - SYNOPSIS array option arrayName ?arg arg ...? ______________________________________________________________________________ DESCRIPTION arrayName ()arrayName option (): array anymore arrayName searchId 1 0SearchId arrayName array startsearch array nextelement array donesearch arrayName searchId SearchId arrayName array startsearch array exists arrayName arrayName 1 0 array get arrayName ?pattern? arrayName pattern pattern patternn ( string match ) arrayName array names arrayName ?pattern? pattern ( string match ) pattern () arrayNamee array nextelement arrayName searchId arrayName arrayName searchId array startsearch : array donesearch array nextelement array set arrayName list arrayName list array get list arrayName list arrayName list , arrayName array size arrayName arrayName 0 array startsearch arrayName arrayName array nextelement array donesearch array nextelement array donesearch array unset arrayName ?pattern? | pattern ( | string match ) arrayName | | pattern | KEYWORDS array, element names, search [] [] 2001/06/22 Linux man : http://cmpp.linuxforum.net man man https://github.com/man-pages-zh/manpages- zh Tcl 8.3 array(3tcl)