Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Technical Reference - <b>_gtwritecon()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _gtWriteCon()
 Perform a console style write to the screen
------------------------------------------------------------------------------
 C Prototype

     #include "gt.api"
     ERRCODE _gtWriteCon(
                          BYTEP fpStr,
                          USHORT uiLen
                        )

 Arguments

     fpStr is the string to write.

     uiLen is the length of the string.

 Returns

     _gtWriteCon() returns zero if successful.  Any other value indicates an
     error.

 Description

     _gtWriteCon() writes a character string at the current cursor position
     using "console" style output.  This includes processing control
     characters, wrapping lines at the last column, and scrolling the screen
     at the last row.  This is similar to the CA-Clipper QQOUT() console
     function except that the output is always sent to the console.  The
     internal row and column coordinates are updated so the CA-Clipper
     functions, ROW() and COL(), will reflect the new cursor position.

 Examples

     .  In this simple example, _gtWriteCon() displays the string
        "Hello" on the screen:

        _gtWriteCon( "Hello", 5 )

 Files  Library is CLIPPER.LIB, header file is Gt.api.


See Also: _gtRepChar() _gtWrite() _gtWriteAt()

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