home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Source Code 1992 March
/
Source_Code_CD-ROM_Walnut_Creek_March_1992.iso
/
msdos
/
c
/
jazlib.arc
/
JZDSPFLD.C
< prev
next >
Wrap
Text File
|
1986-04-06
|
849b
|
21 lines
/*
┌────────────────────────────────────────────────────────────────────────────┐
│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);
}