Hash from two arrays: Difference between revisions
Content deleted Content added
→{{header|Tcl}}: typo |
|||
Line 429: | Line 429: | ||
set values [list barber plumber tailor] |
set values [list barber plumber tailor] |
||
array set arr {} |
array set arr {} |
||
foreach a $keys b $values { set |
foreach a $keys b $values { set arr($a) $b } |
||
=={{header|UnixPipes}}== |
=={{header|UnixPipes}}== |