home *** CD-ROM | disk | FTP | other *** search
- program windemo;
- (* demonstrates window routines in window.inc*)
- (*$I window.inc*)
- var i:integer;
-
- begin
- initwin;
- writeln('Now and every time the action stops,');
- writeln('press ENTER to continu.');
- readln;
- clrscr;
- for i:= 1 to 25 do writeln(' This is the original screen');
-
- mkwin(3,3,50,18);
- for i:= 1 to 15 do writeln('This is the second window');
- readln;
- mkwin(10,5,70,20);
- writeln('third window');
- readln;
- mkwin(55,10,79,25);
- writeln('fourth window');
- readln;
- rmwin; (*remove 4*)
- readln;
- rmwin; (*remove 3*)
- writeln('back in the second');
- readln;
- rmwin; (*remove 2*)
- writeln;
- writeln('this is the first again!');
- readln;
- end.