Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TCXL Database - wprtf, wputf http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Wprtf, Wputf

Display a formatted string/attribute.

Header File.....TCXLwin.h

Prototype.......IntT CDC Wprtf(BytT wr, BytT wc, AtrT at, ChrP fs, ...);
                IntT CDC Wputf(ChrP fs, ...);

Source File.....WIN\WPRTF.C
                WIN\WPUTF.C

Arguments.......wr -  Window Row
                wc -  Window Column
                at -  Attribute (See Appendix A)
                fs -  Format String (See your compiler's documentation)
                ...   -  Additional Arguments

Returns.........ERR_NUL  -  No Error
                ERR_ARG  -  Argument Failure
                   TcxlErr contains:
                   W_NOACTIVE  -  No Active Window
                   W_INVCOORD  -  Invalid Coordinates

Notes...........Displays a formatted string to the active window.  Works
                like the standard printf() function does.  Wprtf() displays
                at the specified coordinates, using the specified attribute
                (See Appendix A);  control characters and escape sequences
                are NOT recognized; cursor position is NOT updated.
                Wputf() displays at the window's current text attribute;
                control characters and escape sequences (See Appendix C)
                are recognized; cursor position is updated.

See Also: Appendix A

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