home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 September / Simtel20_Sept92.cdr / msdos / turbo_c / tc130.arc / D_SAY.DOC < prev    next >
Text File  |  1987-08-20  |  1KB  |  37 lines

  1.  
  2.  
  3.         NAME
  4.                 d_say -- display a string at a specific position
  5.                 d_saypag -- same, with page specification
  6.  
  7.         SYNOPSIS
  8.                 void d_say(r, c, str);
  9.                 void d_saypag(r, c, str, p);
  10.                 int r;      row number
  11.                 int c;      column number
  12.                 char *str;  character string to display
  13.                 int p;      video page (must match current mode)
  14.  
  15.  
  16.         DESCRIPTION
  17.         This function positions the cursor on the specified row
  18.         and column on video page 0, and then writes the string.
  19.         The d_saypag function also selects the video page on which
  20.         to place the cursor.
  21.  
  22.         EXAMPLE
  23.  
  24.              d_say(10, 15, "Hello World!\n");
  25.              d_saypag(5, 20, "Goodby!", 1);
  26.  
  27.  
  28.  
  29.         CAVEAT:  The string is written to stdout.  Therefore, the
  30.                  results will not be as advertised if stdout has
  31.                  been redirected from the default video output.
  32.                  Video page selection is only available on CGA
  33.                  adapters.
  34.  
  35.  
  36.         This function is found in SMTCx.LIB for the Turbo-C Compiler
  37.