Compound data type: Difference between revisions

Add QB64
m (→‎{{header|Crystal}}: i missed that the task specifically calls for a Point data type)
(Add QB64)
Line 1,896:
 
>>></lang>
 
=={{header|QB64}}==
<lang qb64>Type Point
x As Double
y As Double
End Type
 
Dim p As Point
p.x = 15.42
p.y = 2.412
 
Print p.x; p.y</lang>
{{out}}
<pre> 15.42 2.412</pre>
 
=={{header|Quackery}}==
1,808

edits