Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- QWIKC20 & Multi-Level Virtual Windows - <b>---------------------------------------------------------------------------</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ---------------------------------------------------------------------------
 qwriteeos                                                             QWIKC
 ---------------------------------------------------------------------------
 Function       Writes a string to the current screen with an optional
                attribute change starting at the EOS marker.
 Syntax         void qwriteeos( int attr, char far *astr );
 Remarks        This routine writes the string astr at the EOS marker with
                the attribute attr.  If SAMEATTR is used for attr, then the
                attribute will remain the same on the screen.
 Return value   None.
 Screens        All video pages and virtual screens.
 EOS            Updated.
 Restrictions   Stay within the screen limits.
 Example        Highlight the number in the following message:

                  qwrite( 1, 1, WHITE+BLUE_BG, "There are" );
                  qwriteeos( YELLOW+BLUE_BG, " 5 " );
                  qwriteeos( WHITE+BLUE_BG, "minutes left." );

                which will write "There are 5 minutes left." as white on
                blue except "5" will be yellow on blue.


See Also: qwrite() qwrite_sub() qwritec() qwriteeos_sub()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson