Next: A First Example
Up: Invocation
Previous: Invocation
  Contents
  Index
Source Files
Modula-2 sources are stored as ordinary text files under UNIX.
The suffix of the filename depends on the module type:
``.d'' is to be used for definition modules and
``.m2'' is to be taken for implementation and main modules.
The base name of the file should be identical to the
module name. In case of long module names it is recommended
to take the first 11 characters of the
module name.2.1Example: The implementation module GraphicalAttributes
should be stored in a file named GraphicalAt.m2.
Andreas Borchert
2003-12-10