template::util::list_of_lists_to_array (public)template::util::list_of_lists_to_array lists array_ref
Defined in packages/acs-templating/tcl/util-procs.tclConverts a list of lists in the form { { key value } { key value } ... }
to an array.
- Parameters:
-
lists
array_ref
- Source code:
-
upvar $array_ref array
foreach pair $lists {
set key [lindex $pair 0]
set value [lindex $pair 1]
set array($key) $value
}
- XQL Not present:
- Generic, PostgreSQL, Oracle
|