The tarray extension implements typed arrays and associated commands column and table. This page only provides reference documentation for commands. See the main contents for an introduction, programming guide and other reference documentation.
To install the extension, extract the files from the distribution to any
directory that is included in your Tcl installation’s
Once installed, the extension can be loaded with the standard Tcl package require command.
% package require tarray → 0.8
All commands are located in the
In the first form, SCRIPT is executed for each element in VALUES with VAR taking on the value of each element or row in VALUES in turn. VALUES may be a column, table or a Tcl list.
The second form is similar but in addition INDEXVAR is assigned the index of the element.
Returns VALUES as a more readable string format. VALUES is expected to be a column or a table. If not, it is returned unchanged.
The command takes the following options
Prints VALUES to the specified channel in a readable string format.
CHANNEL defaults to
stdout if unspecified. VALUES is
expected to be a column or a table. If not, it is output as
by the Tcl
See Prettify options for a list of valid options.