Practicum I

This page provides practical information to get you started with these exercises. If you follow the instructions on this page EXACTLY, everything will go smoothly.

Contact me Johan Parent:



Local drive

  1. Your personal files are stored in the Z-drive (Z:)
  2. Create a folder:
  3. NO SPACE in folder name!
  4. NO LONGER THAN 8 characters
  5. To keep things simple call it Modula-2

If this worked go to the next step

Modula-2 compiler

  1. Called XDS
  2. Start -> [TW] Programming -> XDS Environment

If this worked go to the next step

Very first exercise

  1. Open exercise webpage (see above)
  2. Go to lesson 1 : Basic structure of a Modula2 program
  3. Download the first demonstration program:
    1. The files need to be copied in the Modula-2 directory you just created!!!
    2. Do not change the name of the file!
    3. If you use Internet Explorer: click on the right button of the mouse to obtain the following menu. Use "Save Target As" to save the data in your disk.
    4. You need to add the extension mod to the file before saving it! Look at the name on the figure below. Can you see the file is called lesson_1_0.mod? Do the same.
  4. Start XDS
  5. Open the file called lesson_1_0.mod. File menu -> Open -> Browse
  6. Now compile it (see picture)
  7. The program is correct so if you did everything correctly you should see this:
  8. Let's execute the program (close the Compiling window first).
  9. This opens a DOS window which displays the output of the program you just compiled. Warning you can not close this DOS window even after executing the program. The window will be closed together with XDS!

NOTE: you can NOT close this DOS window! It is connected to the XDS program. So when you stop XDS the DOS window will disappear.


Can be found at