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 - kwgetsn, kvgetsn http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
KwGetSn, KvGetSn

Get a string from the keyboard, with maximum length with echo

Header File.....TCXLinp.h

Prototype.......IntT CTYP KwGetSn(ChrP s, IntT m);
                IntT CTYP KvGetSn(ChrP s, IntT m);

Source File.....INP\KWGETSN.C
                INP\KVGETSN.C

Arguments.......s  -  Buffer To Receive Input String
                m  -  Maximum Length of Input String

Returns.........ERR_NUL  -  No Error
                ERR_ARG  -  Argument Failure
                   TcxlErr contains:
                   W_NOACTIVE  -  No Active Window
                   W_ESCPRESS  -  The  Esc  Key Was Pressed

Notes...........Gets a string from the keyboard, limiting the number of
                characters input to the specified length.  Entered
                characters will be echoed to the active window using the
                current text attribute (See Appendix A), or to the Standard
                Output device.  Cursor position is updated.  Escape
                checking is provided by default, but can be turned off with
                the WsetEsc() function.

See Also: Appendix A

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