Jump to content

Compound data type: Difference between revisions

m
Line 314:
 
===Using a dictionary===
<lang arturo>point: #{[
x: 10
y: 20
]
}
 
print point</lang>
Line 323:
{{out}}
 
<pre>#{ [x :10, y :20 }]</pre>
 
===Using a class===
1,532

edits

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