home *** CD-ROM | disk | FTP | other *** search
- #include <keys.h>
- #include <jzscreen.h>
- #include <gscreen.h>
- #include <jaz.h>
- #include <jzpshscr.h>
- main()
- {
-
- jzpshscr();
- jzclreol(0,0,7);
- jzclreol(24,0,7);
- jzloccur(0,0);
- jzscrprn("Press a key to stop scrolling",0,0,BLINK + RED);
- jzbeep();
- window(4,20,16,60);
- color(DARKGRAY,LIGHTGRAY);
- jzclrscr();
- locate(0,0);
-
- do
- jzwrite(" this is a test of the emergency broadcast system ");
- while (!jzkeyprs());
-
- CLEARKBD;
-
- jzdelay(18);
-
- jzpshscr();
-
- window(10,50,15,75);
- color(RED,BLUE);
- jzclrscr();
- locate(0,0);
-
- do
- jzwrite("\nthis is a test of the emergency broadcast system");
- while (!jzkeyprs());
-
- CLEARKBD;
-
- jzdelay(18);
-
- jzpopscr();
-
- jzdelay(18);
-
- jzpopscr();
-
- jzdelay(18);
-
- jzpopscr();
- }
-