Hash from two arrays: Difference between revisions

(→‎{{header|NetRexx}}: Add version that uses Collection classes)
Line 1,129:
({ 'red' . 'one' . 'two' }
dictionaryWithValues: { '#ff0000'. 1. 2 }) displayNl.</lang>
{{works with|Smalltalk/X}}
{{works with|VisualWorks Smalltalk}}
<lang smalltalk>Dictionary
withKeys:#('one' 'two' 'three')
andValues:#('eins' 'zwei' 'drei')</lang>
 
=={{header|SNOBOL4}}==
Anonymous user