Jump to content

Compound data type: Difference between revisions

No edit summary
Line 312:
 
=={{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 #{
1,532

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.