ad_ns_set_keys (public, deprecated)

 ad_ns_set_keys [ -colon ] [ -exclude exclude ] set_id

Defined in packages/acs-tcl/tcl/deprecated-procs.tcl

Deprecated. Invoking this procedure generates a warning.

Returns the keys of an ns_set as a Tcl list, like array names. This proc can be easily replaced by a Tcl dict operation. Furthermore, newer versions of NaviServer have "ns_set keys" and "ns_set values" operations.

Switches:
-colon (optional, boolean)
If set, will prepend all the keys with a colon; useful for bind variables
-exclude (optional)
Optional Tcl list of key names to exclude
Parameters:
set_id (required)
Author:
Lars Pind <lars@pinds.com>
See Also:
  • ns_set keys

Testcases:
No testcase defined.
[ show source ]
Show another procedure: