Go to the first, previous, next, last section, table of contents.

The Main Module

Every Modula-3 program must have a single main module. Typically, the body of the main module contains the "driver" portion of your program; for small programs, the main module may be the only module. Here is a short example:

As you may have noticed, comments are enclosed in (* *).


Go to the first, previous, next, last section, table of contents.