Associative array/Merging: Difference between revisions

Content added Content deleted
(→‎{{header|Python}}: New alternative using '|')
(Added Arturo implementation)
Line 119: Line 119:
{{output}}
{{output}}
<lang applescript>{price:15.25, |color|:"red", |year|:1974, |name|:"Rocket Skates"}</lang>
<lang applescript>{price:15.25, |color|:"red", |year|:1974, |name|:"Rocket Skates"}</lang>

=={{header|Arturo}}==

<lang rebol>details: #[name: "Rocket Skates" price: 12.75 colour: 'yellow]
newDetails: extend details #[price: 15.25 colour: 'red year: 1974]

print newDetails</lang>

{{out}}

<pre>[name:Rocket Skates price:15.25 colour:red year:1974]</pre>


=={{header|AutoHotkey}}==
=={{header|AutoHotkey}}==