Compound data type: Difference between revisions
Content added Content deleted
m (→{{header|JSON}}: added KS) |
|||
Line 576: | Line 576: | ||
In practice however, you'd use MAX's built in Point2 type |
In practice however, you'd use MAX's built in Point2 type |
||
<lang maxscript>newPoint = Point2 3 4</lang> |
<lang maxscript>newPoint = Point2 3 4</lang> |
||
=={{header|Modula-2}}== |
|||
<lang Modula-2>TYPE Point = RECORD |
|||
x, y : INTEGER |
|||
END;</lang> |
|||
=={{header|Modula-3}}== |
=={{header|Modula-3}}== |