Category : Modula II Source Code
Archive   : M2TUTOR.ZIP
Filename : WRITESM.MOD

 
Output of file : WRITESM.MOD contained in archive : M2TUTOR.ZIP
MODULE WriteSm;

FROM InOut IMPORT WriteLn, WriteString;

BEGIN

WriteString("This line will be displayed on the monitor.");
WriteLn;
WriteString('This line will be displayed too.');
WriteLn;
WriteString("This will all be ");
WriteString('on one line.');
WriteLn;
WriteString('She said, "I ');
WriteString("don't ");
WriteString('like dogs."');
WriteLn;

END WriteSm.




(* Result of execution

This line will be displayed on the monitor.
This line will be displayed too.
This will all be on one line.
She said, "I don't like dogs."

*)



  3 Responses to “Category : Modula II Source Code
Archive   : M2TUTOR.ZIP
Filename : WRITESM.MOD

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/