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 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

  ---------------------------------------------------------------------------
  wwrite_sub                                                            WNDWC
  ---------------------------------------------------------------------------
  Function       Writes a substring with a specified length relative to the
                 current window using the window attribute.
  Syntax         void wwrite_sub( unsigned char row, unsigned char col,
                                  int length, char far *astr );
  Remarks        This routine writes length characters of the string astr at
                 window-relative (row,col) for the number of columns
                 specified by length.  This enables you to write substrings.
                 The attribute used is wndwattr from the window record.  If
                 wndwattr is set to SAMEATTR, then the attributes will remain
                 the same on the screen.
  Return value   None.
  Screens        All video pages and virtual screens.
  EOS            Updated.
  Restrictions   Stay within the window limits.  Long strings will not wrap
                 around to column 1.
     Example        The following will write "Testing out this line."  with the
                 current window attribute:

                   strcpy( mystring, "Step B: Testing out this line." );
                   wwrite_sub( 1, 1, 22, &mystring[8] );


See Also: wwrite() wwritec()

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