![](/images/new-backgrounds/1186820/186820275x1.webp)
v i d P u t S t r
Description
Writes a string of ASCII characters with an attribute at the specified display page’s current cursor location. The string overwrites the characters in the affected positions. This function does not move the cursor. Use vidPutCursor to move it.
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 vidPutStr(char far* lpchString, unsigned char uchAttr, short sPage);
Parameters
lpchString | The string to write. Bell, backspace, carriage | |
| return, and line feed characters are invalid. The | |
| string’s length must be less than or equal to the | |
| number of remaining columns in the current row. | |
uchAttr | The string’s attribute. Values are: | |
| 0x07 | Normal video |
| 0x70 | Reverse video |
sPage | The display page. For | |
| 3. For |
Return Values
None