Deepcopy: Difference between revisions
Added Arturo implementation
m (→{{header|Phix}}: added syntax colouring the hard way, phix/basics) |
Drkameleon (talk | contribs) (Added Arturo implementation) |
||
Line 56:
<pre>deepcopy
deepcopy</pre>
=={{header|Arturo}}==
<lang rebol>x: #[
name: "John"
surname: "Doe"
age: 34
hobbies: [
"Cycling",
"History",
"Programming",
"Languages",
"Psychology",
"Buddhism"
]
sayHello: function [][
print "Hello there!"
]
]
print ["Name of first person:" x\name]
y: new x
y\name: "Jane"
print ["Name of first person:" x\name]
print ["Name of second person:" y\name]</lang>
{{out}}
<pre>Name of first person: John
Name of first person: John
Name of second person: Jane</pre>
=={{header|AutoHotkey}}==
|