![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/b/d9/bd9e30cc-fc90-405c-8c02-9bf3135ac56c/bd9e30cc-fc90-405c-8c02-9bf3135ac56c-bg94.png)
4-112 Programmer’s Manual
vidSetPage
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 4-line printers, values are
0-3
.
For 8-line printers, values are
0-1
. The default is
0
.
Return Values
None
Example
#include <conio.h>
#include <stdio.h>
#include "mmsultra.h"