insline
raw OCR
Inserts a blank line in the text window.
Defined in header <conio.h>
Syntax
#include <conio.h>
void insline(void);
Portability
| DOS | UNIX | Windows | ANSI C | C++ only |
|---|---|---|---|---|
| ■ |
Remarks
insline inserts an empty line in the text window at the cursor position using the current text background color. All lines below the empty one move down one line, and the bottom line scrolls off the bottom of the window.
insline is used in text mode.
Return value
None.
See also
Example
#include <conio.h>
int main(void)
clrscr 0;
cprintf ("INSLINE inserts an empty line in the text window\r\n";
cprintfC'at the cursor position using the current text\r\n");
cprintf ("background color. All lines below the empty one\r\n"!
cprintf ("move down one line and the bottom line scrolls\r\n");
cprintf ("off the bottom of the window.\r\n");
cprintf ("\r\nPress any key to continue:");
gotoxy(l, 3);
getchO ;
insline 0;
getchO ;
return 0;
Differences from modern implementations
Nothing recorded yet.
Modern references
These are search links, not yet checked by hand.
Stable link: /3.1/conio.h/insline/
· short form /3.1/insline/