Task

Using two Arrays of equal length, create a Hash object
where the elements from one array (the keys) are linked
to the elements of the other (the values)



Related task

   Associative arrays/Creation


 
set keyList to ["red", "green", "blue"]
set valueList to [150,0,128]
 
repeat with n=1 to the number of items in keyList
	set map.(item n of keyList) to item n of valueList
end repeat
 
put map
--> (blue:"128", green:"0", red:"150")
 
 