home *** CD-ROM | disk | FTP | other *** search
- {to remove spurious BARS when scrolling on HiRes screen}
- Program ScrollTest;
- Var Ch : Char;
- Begin
- HiRes; HiResColor (Green); Gotoxy (1, 25);
- Writeln ('This line will cause scrolling...');
- Writeln ('This line will cause scrolling...'); {see the vertical bars}
- Writeln ('This line will cause scrolling...');
- Writeln ('This line will cause scrolling...');
- Writeln ('(vertical bars = attribute byte used as fill char)' );
- Read (Kbd, Ch);
- HiResColor (Yellow);
- TEXTCOLOR(0); TEXTBACKGROUND(0);
- Writeln ('This line will cause scrolling...');
- Writeln ('This line will cause scrolling...'); {no vertical bars}
- Writeln ('This line will cause scrolling...');
- Writeln ('This line will cause scrolling...');
- Writeln ('This line will cause scrolling...');
- Writeln ('This line will cause scrolling...');
- Writeln ('(attribute byte of 00 eliminates vertical bars)');
- Writeln ('(but, as long as the beer''s good, who cares?) ');
- Read (Kbd, Ch);
- TextMode (C80);
- TextColor (LightGray);
- Port [$03D9] := Blue; {border}
- TextBackground (Blue);
- ClrScr;
- End.
-