Compound data type: Difference between revisions
Content added Content deleted
Drkameleon (talk | contribs) No edit summary |
Drkameleon (talk | contribs) |
||
Line 312: | Line 312: | ||
=={{header|Arturo}}== |
=={{header|Arturo}}== |
||
===Using a dictionary=== |
|||
<lang arturo>point #{ |
|||
x 10 |
|||
y 20 |
|||
} |
|||
print point</lang> |
|||
{{out}} |
|||
<pre>#{ x 10, y 20 }</pre> |
|||
===Using a class=== |
|||
<lang arturo>Point #{ |
<lang arturo>Point #{ |