Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - disp_pokew http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   disp_pokew

   Usage
   #include <disp.h>
   void disp_pokew(int row,int col,int attrchar);

   Description
   Pokes an attribute and character into a specified row and column.  The
   character and attribute are passed as a combined value in an  unsigned
   integer (the form in which they are returned by disp_peekw).

   Use charatt = attribute*256 + character

   Example
   #include <disp.h>

   main()
   {
   unsigned chatt;

        chatt = DISP_REVERSEVIDEO*256+'a';

        disp_open();
        disp_move(0,0);
        disp_eeop();
        disp_move(4,4);
        disp_pokew(chatt);
        disp_close();
   }



See Also: Display_package disp_peekw disp_pokebox disp_peekbox

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