util_list_to_ns_set (public, deprecated)

 util_list_to_ns_set aList

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

Deprecated. Invoking this procedure generates a warning.

Convert a list in the form "key value key value ..." into an ns_set. DEPRECATED: this proc can be replaced with a oneliner using list expansion.

Parameters:
aList (required)
The list to convert
Returns:
The id of a (non-persistent) ns_set
See Also:
  • ns_set create ?name? ?key? ?value? ...

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