The [Tcl] '''[http://www.tcl.tk/man/tcl/TclCmd/library.htm%|%library]''', a part of the [Tcl] [The Tcl Core%|%core] distribution, is a collection of procedures for commonly needed functions. ** Documentation ** [http://www.tcl.tk/man/tcl/TclCmd/library.htm%|%official reference]: ** Commands ** [auto_execok]: determines whether an executable file, or shell builtin, exists [auto_import]: search for and load definitions for commands matching a specified patttern [auto_load]: attempts to load the definition for a command [auto_mkindex]: generates an index suitable for use by auto_load, writing it to a file name [TclIndex%|%tclIndex] [auto_qualify]: computes a list of fully-qualified names for a command [auto_reset]: destroys all the information cached by [auto_execok] and [auto_load] [parray]: prints the names and values of the elments in an array [tcl_findLibrary]: a standard search procedure used by extensions during their initialization [tcl_endOfWord]: find the end of the specified word [tcl_startOfNextWord]: find the start of the next word [tcl_startOfPreviousWord]: find the start of the previous word [tcl_wordBreakAfter]: find the beginning of word delimiter after the specified word [tcl_wordBreakBefore]: find the beginning of the word delimiter before the specified word ** Variables ** The following global variables are defined or used by the procedures in the Tcl library. `auto_execs`: an [array] containing the names of commands that could not be located by `[auto_execok]` `[auto_index]`: an array of names of commands known to `[auto_load]` `[auto_noexec]`: If this variable is defined, `[unknown]` will not attempt to `[exec]` any unknown commands. `auto_noload`: If this variable is defined, `[unknown]` will not attempt to `[auto_load]` any commands `[auto_path]`: a [list] of directories that `[package unknown]` searches to find `[package]` packages. The initial value of this variable aggregated from the value of the following sources, in order: `[TCLLIBPATH%|%$env(TCLLIBPAHT)]`, `[tclvars%|%$tcl_library]`, the parent directory of `[tclvars%|%$tcl_library]`, and `[tcl_pkgPath%|%$tcl_pkgPath]`. `[tclvars%|%$env(TCL_LIBRARY)]`: `[TCLLIBPATH%|%$env(TCLLIBPATH)]`: [tcl_wordchars%|%tcl_wordchars and tcl_nonwordchars]: Used by `$tcl_endOfWord`, `tcl_startOfNextWord`, `tcl_startOfPreviousWord`, `tcl_wordBreakAfter`, and `tcl_wordBreakBefore` commands. By default, these variables are not defined and the following rules apply: Under [Unix], word characters are numbers, letters, and underscores ; under [Microsoft Windows%|%Windows], word characters are every character except space, tab, and newline. <> Core