Name
keylset
- keylset
listvar key value
... Set the value associated with
key
tovalue
in the keyed list contained in variablelistvar
. Iflistvar
does not exist, it is created. Ifkey
is not currently in the list, it is added. If it already exists,value
replaces the existing value. Multiple keywords and values may be specified if desired.
Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.