util_unlist (public, deprecated)

 util_unlist list [ args... ]

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

Deprecated. Invoking this procedure generates a warning.

Places the nth element of list into the variable named by the nth element of args. One should use the built-in Tcl command "lassign" instead of this proc.

Parameters:
list (required)
See Also:
  • lassign

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc util_unlist
    for { set i 0 } { $i < [llength $args] } { incr i } {
        upvar [lindex $args $i] val
        set val [lindex $list $i]
    }
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-tcl/tcl/deprecated-procs.xql

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