Category : Modula II Source Code
Archive   : VWINDOW2.ZIP
Filename : VTEST.MOD

 
Output of file : VTEST.MOD contained in archive : VWINDOW2.ZIP
MODULE VTest;

(* FST Modula-2 Version *)


IMPORT Terminal;
IMPORT VWindows;

VAR
win1,
win2,
win3 : VWindows.WinHandle;
c : CHAR;

BEGIN
win1 := VWindows.OpenWindow(4,60,3,15,VWindows.Normal,TRUE);
win2 := VWindows.OpenWindow(50,75,5,11,VWindows.Reverse,FALSE);
win3 := VWindows.OpenWindow(20,70,15,20,VWindows.Normal+VWindows.Bright,TRUE);
WHILE NOT Terminal.KeyPressed() DO
VWindows.WriteString(win1,' Window 1 ');
VWindows.WriteString(win2,' Window 2 ');
VWindows.WriteString(win3,' Window 3 ');
END;
WHILE Terminal.KeyPressed() DO
Terminal.Read(c);
END;
VWindows.CloseWindow(win2);
WHILE NOT Terminal.KeyPressed() DO
VWindows.WriteString(win1,' Window 1 ');
VWindows.WriteString(win3,' Window 3 ');
END;
WHILE Terminal.KeyPressed() DO
Terminal.Read(c);
END;
VWindows.CloseWindow(win3);
WHILE NOT Terminal.KeyPressed() DO
VWindows.WriteString(win1,' Window 1 ');
END;
WHILE Terminal.KeyPressed() DO
Terminal.Read(c);
END;
VWindows.CloseWindow(win1);
END VTest.


  3 Responses to “Category : Modula II Source Code
Archive   : VWINDOW2.ZIP
Filename : VTEST.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/