home *** CD-ROM | disk | FTP | other *** search
- /*
- ┌────────────────────────────────────────────────────────────────────────────┐
- │jzdspfld.c │
- │Display a string in a given field at a given cursor position with a given │
- │color attribute. The routine pads out with blanks if the string is too │
- │short but no check for a string too long is made. │
- │ │
- │ (C) JazSoft Software by Jack A. Zucker (301) 794-5950 │
- └────────────────────────────────────────────────────────────────────────────┘
- */
-
- jzdspfld(fstr,flen,frow,fcol,fattr)
- char *fstr;
- int flen,frow,fcol,fattr;
- {
- char wbuf[256];
-
- sprintf(wbuf,"%s%s",fstr,jzpad(flen-strlen(fstr),' '));
- jzscrprn(wbuf,frow,fcol,fattr);
- }