Keyldel

From AOLserver Wiki
Revision as of 19:29, 14 June 2004 by WikiSysop (talk | contribs) (imported from WiKit id 835)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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