Go to the first, previous, next, last section, table of contents.


ScreenPutString

Syntax

#include <pc.h>

void  ScreenPutString(const char *str, int attr, int column, int row);

Description

Beginning at screen position given by column and row, this function displays the string given by str. Each string character gets the attribute given by attr. If column or row have values outside legal range for current video mode, nothing happens. The variables row and column are zero-based (e.g., the topmost row is row 0).

Return Value

None.

Portability

not ANSI, not POSIX

Example

ScreenPutString("Hello, world!", (BLUE << 4) | LIGHTBLUE, 20, 10);


Go to the first, previous, next, last section, table of contents.