template::util::vars_to_array (public, deprecated)

 template::util::vars_to_array arrayname [ args... ]

Defined in packages/acs-templating/tcl/util-procs.tcl

Deprecated. Invoking this procedure generates a warning.

Place local variables into an array

Parameters:
arrayname (required)
The name of an array in the calling frame.
See Also:
  • array

Partial Call Graph (max 5 caller/called nodes):
%3 ad_log_deprecated ad_log_deprecated (public) template::util::vars_to_array template::util::vars_to_array template::util::vars_to_array->ad_log_deprecated

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc template::util::vars_to_array
    upvar $arrayname arr

    foreach var $args {
        upvar $var value
        set arr($var$value
    }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: