Compound data type: Difference between revisions

Line 1,996:
this way because pairs of values <code>(x,y)</code> are a common idiom.
 
=={{header|VBA}}==
<lang vb>Type point
x As Integer
y As Integer
End Type</lang>
=={{header|Vim Script}}==
One cannot create new data types in Vim Script. A point could be represented by a dictionary:
255

edits