oacs_util::vars_to_ns_set (public, deprecated)

 oacs_util::vars_to_ns_set -ns_set ns_set -var_list var_list

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

Deprecated. Invoking this procedure generates a warning.

Does an ns_set put on each variable named in var_list DEPRECATED 5.10.1: modern ns_set idioms make this proc obsolete

Switches:
-ns_set
(required)
an ns_set id that already exists.
-var_list
(required)
list of variable names in the calling scope
See Also:
  • ns_set

Partial Call Graph (max 5 caller/called nodes):
%3 bug_tracker::bug::insert bug_tracker::bug::insert (public) oacs_util::vars_to_ns_set oacs_util::vars_to_ns_set bug_tracker::bug::insert->oacs_util::vars_to_ns_set preference::type::new preference::type::new (public) preference::type::new->oacs_util::vars_to_ns_set workflow::case::action::execute workflow::case::action::execute (public) workflow::case::action::execute->oacs_util::vars_to_ns_set ad_log_deprecated ad_log_deprecated (public) oacs_util::vars_to_ns_set->ad_log_deprecated

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc oacs_util::vars_to_ns_set
    ns_log notice "deprecated call: [info level [info level]]"
    foreach var $var_list {
        upvar $var one_var
        ns_set put $ns_set $var $one_var
    }
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-tcl/tcl/utilities-procs.xql

[ hide source ] | [ make this the default ]
Show another procedure: