Compound data type: Difference between revisions
Content added Content deleted
(added MiniScript example) |
|||
Line 1,358: | Line 1,358: | ||
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|MiniScript}}== |
|||
<lang MiniScript>Point = {} |
|||
Point.x = 0 |
|||
Point.y = 0</lang> |
|||
=={{header|Modula-2}}== |
=={{header|Modula-2}}== |