Compound data type: Difference between revisions

Add Nimrod
(Add Nimrod)
Line 899:
X=2,Y=4
</pre>
 
=={{header|Nimrod}}==
<lang nimrod>type Point = tuple[x, y: int]
 
var p: Point = (12, 13)
var p2: Point = (x: 100, y: 200)</lang>
 
=={{header|Objeck}}==
Anonymous user