Anonymous user
Compound data type: Difference between revisions
→{{header|Modula-2}}
Line 581:
x, y : INTEGER
END;</lang>
Usage:
<lang Modula-2>VAR point : Point;
...
point.x := 12;
point.y := 7;</lang>
=={{header|Modula-3}}==
|