home *** CD-ROM | disk | FTP | other *** search
- /**********************************************************/
- /* File Id. Qblkwrt.C */
- /* Author. Stan Milam. */
- /* Date Written. 07/03/89. */
- /* */
- /* (c) Copyright 1989-90 by Stan Milam */
- /* */
- /* Comments: Used to write an array of strings to the */
- /* screen very quickly. The array of pointers must be */
- /* NULL terminated. */
- /**********************************************************/
-
- #include <stdio.h>
- #include "pcwproto.h"
-
- int q_block_write(int row, int col, int fclr, int bclr, char *strs[]) {
-
- int lcv, rc;
-
- for (lcv = 0; strs[lcv] != NULL; lcv++) {
- rc = qputs(row+lcv,col,fclr,bclr,strs[lcv]);
- if (!rc) return(rc);
- }
- return(1);
- }