v i d W r i t e C

Description

Writes an ASCII character at the specified display page’s current cursor location, overwriting any character that may already be there, but keeping the attribute. After calling this function, call vidPutCursor to move the cursor to a new position.

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.

To write a character and attribute, use vidWriteCA.

Syntax

void far vidWriteC(unsigned char uchChr, short sCount,

short sPage);

Parameters

uchChr The ASCII character to write. Bell, backspace, carriage return, and line feed characters are invalid.

sCountThe number of times to write the character. This number must be less than or equal to the number of columns remaining in the current row.

sPageThe display page. For 4-row printers, values are 0- 3. For 8-row printers, values are 0-1.

Return Values

None

4-114 Programmer’s Manual

Page 150
Image 150
Paxar Gold 6037EX manual D W r i t e C