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 - wprtns, wputns http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Wprtns, Wputns

Display a padded string/attribute.

Header File.....TCXLwin.h

Prototype.......VOID CTYP Wprtns(BytT wr, BytT wc, AtrT at, ChrP ps,
                     IntT wd);
                VOID CTYP Wputns(ChrP ps, IntT wd);

Source File.....WIN\WPRTNS.C
                WIN\WPUTNS.C

Arguments.......wr -  Window Row
                wc -  Window Column
                at -  Attribute (See Appendix A)
                ps -  String to Display
                wd -  Width of Output String

Returns.........None

Notes...........Displays a string.  The input width will determine how many
                characters are actually displayed.  Wprtns() 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.
                Wputns() 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