FT_VIDSTR()
Display string on screen in specified attribute
──────────────────────────────────────────────────────────────────────────────

Syntax

FT_VIDSTR( <nRow>, <nCol>, <cString> [, <nColor> ] ) -> NIL

Arguments

<nRow> and <nCol> are the screen coordinates.

<cString> is the string to be printed on the screen.

<nColor> is an integer representing the color attribute.
The formula is:

nFore + ( nBack * 16 )

FT_VIDSTR() will display the string in the current color if
<nColor> is not passed.

Returns

NIL

Description

This is a high speed function to display a string of any ASCII
characters on screen in a specified color attribute. This function
is useful for constructing screens with a lot of text or repetitive
screen prints where speed is important.

Examples

FT_VIDSTR( 10, 20, "Enter Name :", 165 )

This example will print the specified text at coordinates 10, 20
in bright white on top of Magenta.


Source: VIDEO1.C

Author: Robert A. DiFalco