Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Nanforum Toolkit v2.1 Reference Guide - <b>ft_vidstr()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 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

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson