RAD Studio |  |

insline

Header File

conio.h

Category

Console I/O Routines

Prototype

void insline(void);

Description

Inserts a blank line in the text window.

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.

Note: Do not use this function in Win32 GUI applications.
Return Value

None.

Example

Copy Code

    #include <conio.h>
    int main(void)
    {
        clrscr();
        cprintf("INSLINE inserts an empty line in the text window\r\n");
     cprintf("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(1, 3);
     getch();
        insline();
        getch();
     return 0;
    }

Portability

POSIX | Win32 | ANSI C | ANSI C++
| + |  |

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!