Compound data type: Difference between revisions

Content added Content deleted
(Add NetRexx implementation)
(adding maxima)
Line 779: Line 779:
Graphics[a]</lang>
Graphics[a]</lang>
[[File:Point_mma.png]]
[[File:Point_mma.png]]

=={{header|Maxima}}==
<lang maxima>defstruct(point(x, y))$

p: new(point)$

q: point(1, 2)$

p@x: 5$</lang>


=={{header|MAXScript}}==
=={{header|MAXScript}}==