home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QBasic & Borland Pascal & C
/
Delphi5.iso
/
C
/
Samples
/
C-ASM_VI.ARJ
/
PROGC.ZIP
/
PROGC043.C
< prev
next >
Wrap
Text File
|
1988-05-25
|
835b
|
20 lines
/************************************************************************/
/* Scroll upper left quarter of the 80x25 screen up by 6 lines */
/************************************************************************/
sample_scroll_text()
{
int i,j;
for (i = 0; i < 25; i++) /* Fill screen with data */
{
printf("\n");
for (j = 0; j < 40; j++)
printf("%1d",i%10);
}
getchar(); /* Wait for <Enter> */
scroll_text(1,3,12,19, 6); /* Scroll text window */
getchar(); /* Wait for <Enter> */
scroll_text(1,3,12,19,-6); /* Scroll text window */
}