![](/images/new-backgrounds/1186820/186820295x1.webp)
v i d S e t P a g e
Description
Switches to the specified display page and displays it. Switching between pages does not affect their contents.
To ensure the
♦application begins on the same page every time, use this function to set the display page at the application’s beginning.
♦display pages are clear, use vidScroll to clear the pages at the application’s beginning.
If the application writes to a display page other than the current one, the written string does not appear until the application sets that page as the current one with vidSetPage. Strings written to the current page appear immediately.
Syntax
void far vidSetPage(short sPage);
Parameters
sPage | Display page. For | values are |
|
| For | . The default is | 0. |
Return Values
None
Example
#include <conio.h> #include <stdio.h> #include "mmsultra.h"