Anonymous user
Compound data type: Difference between revisions
→{{header|COBOL}}: added description
imported>Arakov |
imported>Acediast (→{{header|COBOL}}: added description) |
||
Line 575:
=={{header|COBOL}}==
A compound data item description is possible in COBOL as a subdivided record:
<syntaxhighlight lang="cobol"> DATA DIVISION.
WORKING-STORAGE SECTION.
01 Point.
05 x
05 y
Here the record <code>Point</code> has the subdivisions <code>x</code> and <code>y</code>, both of which are signed 16-bit binary integers.
=={{header|CoffeeScript}}==
|