next up previous index
Next: Tcl Internal State Up: Procedures Previous: Local and Global

Arrays

Tcl has one-dimensional associative arrays, the array indices can be arbitrary strings:

% set colour(monday) blue
blue
% puts $colour(monday)
blue


Micha Meier
Tue Jul 2 09:49:39 MET DST 1996