home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h>
- #include "pcwproto.h"
-
- void main(void) {
-
- static char *msgs[] = {
- "Description: w_block_write will write an array of strings",
- "into your window in one fell swoop. This is very convenient",
- "and keeps you from having to set up loops to do this function",
- NULL
- };
- WNDPTR *wnd;
- bordercolor(BLUE,LIGHTGRAY);
- titlecolor(BLACK,LIGHTGRAY);
- wnd = wframe(6,5,12,75,RED,LIGHTGRAY);
- wtitle(wnd, TOP,MIDDLE," w_block_write ");
- w_block_write(wnd,2,CENTER,msgs);
- keywait(10); wnd = wpop(wnd);
- }
-