Avery Dennison 6035 Programmer Manual Rev.CA 6/01 User Manual

Page 154

Advertising
background image

Function Reference 4-113

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 appears immediately.

Syntax

void far vidSetPage(short sPage);

Parameters

sPage

Display page. For 4-line/33-key printers, values
are 0-3. For 8-line/48-key printers, values are 0-1.
The default is 0.


Return Values

None

Example

#include <conio.h>

#include <stdio.h>

#include "mmsultra.h"

Advertising