Compound data type: Difference between revisions

Content added Content deleted
imported>Acediast
(→‎{{header|COBOL}}: added SECTION headers and forsyntax highlighting)
imported>Arakov
Line 745: Line 745:


=={{header|Elena}}==
=={{header|Elena}}==
ELENA 6.x:
<syntaxhighlight lang="elena">struct Point
<syntaxhighlight lang="elena">struct Point
{
{
prop int X;
int X : prop;
prop int Y;
int Y : prop;
constructor new(int x, int y)
constructor new(int x, int y)