Download
XDS and ADW Modula-2 or Stony Brook Modula-2
Download common files for both systems
- Download tutordef.zip
and tutormod.zip.
These zip files contain the example programs and example
definition and implementation modules from the tutorial.
- Download m2def.zip.
This zip file contains the definition file of the module Terminal2
used in the tutorial.
Where to place these files?
Typically you would create a directory on your hard drive named "M2Projects"
with a subdirectory named "Tutorial".
XDS Modula-2 users
It is assumed that XDS is installed in the XDS directory of the hard disk C:
- Unzip the files from tutordef.zip and place
them in a new subdirectory named DEF of your tutorial project directory.
- Unzip the files from tutormod.zip and place
them in a new subdirectory named SRC of your tutorial project directory.
- Unzip the files from m2def.zip and place
them in the C:\XDS\Bin\Def directory
- Download and unzip the files in
XDSm2.zip.
Place the unzipped files in the SC:\XDS\Bin\Src directory.
This zip file contains an implementation for XDS of the
Terminal2 module used in the tutorial.
This implementation solely makes use of ISO modules.
ADW Modula-2 and Stony Brook Modula-2 users
- Unzip the files from tutordef.zip and place
them in a new subdirectory named DEF of your tutorial project directory.
- Unzip the files from tutormod.zip and place
them in a new subdirectory named MOD of your tutorial project directory.
- Unzip the files from m2def.zip and place
them in the DEF directory of your tutorial project directory.
- Download and unzip the files in
sbm2m2.zip.
Place the unzipped files in the MOD directory of your tutorial project directory.
This zip file contains a SBM2 specific implementation of the
Terminal2 module used in the tutorial.
Download for MOCKA
Download coronado.mocka.tar.gz (provided by Jan Verhoeven).
Note:
- In MOCKA Modula-2, definition files have file extension MD and implementation files have extension MI.
- The examples in this download follow Wirth's Programming in Modula-2 (not the ISO standard).
- In these examples input and output procedures are imported from an InOut Module.
About the Terminal2 module: we have designed a simple
module used for screen input and output. This module typically requires
the user to press a key before the program is halted. This should solve
the problem on GUI systems that the output windows closes immediately
when a program is terminated.
|