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 - kwscanf, kvscanf http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
KwScanf, KvScanf

Get a formatted input string, with echo.

Header File.....TCXLinp.h

Prototype.......IntT CDC KwScanf(ChrP fs, ...);
                IntT CDC KvScanf(ChrP fs, ...);

Source File.....INP\KWSCANF.C
                INP\KVSCANF.C

Arguments.......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_ESCPRESS  -  The  Esc  Key Was Pressed

Notes...........
                !!!!NOTE!!!!  These functions are only available with the
                Turbo C versions of TCXL.  Neither Microsoft C nor Zortech
                C/C++ provide the necessary vsscanf() function needed to
                implement this procedure.

                Inputs a formatted string from the keyboard.  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.

                These functions work identical to the C library routine
                scanf(), except that input is done to the default window.

See Also: Appendix A

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