Keyldel

From AOLserver Wiki
Jump to: navigation, search

Man page: http://aolserver.com/docs/tcl/keyldel.html


NAME

keyldel - Delete key and value from keyed list

SYNOPSIS

keyldel listvar key

DESCRIPTION

This command deletes the key specified by key from the keyed list in listvar. This removes both the key and the value from the keyed list.
Keyed lists are an extension of Tcl provided by the TclX package. They are an alternative to using ns_set, but we highly recommend using ns_set instead of keyed lists. The commands provided by AOLserver were taken directly from a 1995 version of the TclX package.

EXAMPLES

   % keylset mylist a b c d e f
   % keylkeys mylist
   a c e
   % keyldel mylist c
   % keylkeys mylist
   a e

SEE ALSO

TclX [1], keylget, keylkeys, keylset

Category Documentation - Category Core Tcl API