home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c005 / 4.ddi / C / SCDSPMSG.C < prev    next >
Encoding:
C/C++ Source or Header  |  1986-08-05  |  928 b   |  33 lines

  1. /**
  2. *
  3. * Name        scdspmsg -- Display a message at a specified position
  4. *                with given display attributes
  5. *
  6. * Synopsis    nchar = scdspmsg(row,col,fore,back,pmsg);
  7. *
  8. *        int  nchar      Number of characters displayed.
  9. *        int  row,col      Position of the message.
  10. *        int  fore,back      Display attributes.
  11. *        char *pmsg      Message to be displayed.
  12. *
  13. * Description    SCDSPMSG displays a message using the fore and back
  14. *        display attributes at the specified position.  The
  15. *        cursor is not moved.  The message is displayed on the
  16. *        current display page (see SCPAGE), which is not
  17. *        necessarily active (visible).
  18. *
  19. * Returns    nchar          Number of characters displayed
  20. *
  21. * Version    3.0  (C)Copyright Blaise Computing Inc. 1983, 1984, 1985
  22. *
  23. **/
  24.  
  25. #include <bscreen.h>
  26.  
  27. int scdspmsg(row,col,fore,back,pmsg)
  28. int row,col,fore,back;
  29. char *pmsg;
  30. {
  31.     return scwrbuf(row,col,0,pmsg,fore,back,CHARS_ONLY + NO_MOVE_CUR);
  32. }
  33.