Selective file copy: Difference between revisions

m
corrected a spelling error.
(Added Kotlin)
m (corrected a spelling error.)
Line 7:
Show how file processing as known from PL/I or COBOL can be implemented in the
language of your choice.
<br>Here, a file is not 'just' a sequence of bytes or lines but a sequence of ''recodsrecords'' (structured data). The structure is usually described by declarations contained in an ''INCLUDE'' file (PL/I) or ''COPY BOOK'' (COBOL).
<br>The ''by name'' assignment is a little extra available in PL/I.
<br>Data conversions may be necessary (as shown here for data element ''c'' in the Go listing).