Chapter 16 - Complete example programs
eZine lover (@eZine)
Published in
Modula2
· 30 Jan 2023
The intent of this chapter is to give several example programs that use nearly every capability of Modula-2 as illustrations of large usable programs. The programs are usable utilities, but primarily they are intended to illustrate the method of building up a medium sized program from the various constructs studied in the earlier chapters. BAKLIST.MOD MODULE BakList; (* This program is used to generate a list of all files in all *) (* subdirectories except for the DOS files and the list file which *) (* this program generates. The file FULLDISK.LST is created and *) (* filled in the root directory of the default drive containing *) (* the...