Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>exitkeys() - define exit keys allowed to exit reads()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     exitkeys() - define exit keys allowed to exit reads()
  Usage:    exitkeys(<key1>,<key2>,<key3>,....)
  Params:   integers <key1>,<key2>,<key3>...... - these are standard
            Clipper inkey() values.
  Returns:  nothing

 ---------------------------------- Example ---------------------------------

                 * let only the up/down arrows exit the reads
                 exitkeys(5,24)

  Note:     The ESCape key is always allowed to exit. If you want to
            restore all the default exit keys, simply issue an
            exitkeys() function call with no parameters. The following
            keys are normally allowed to exit reads():

                 ESC - Aborts current reads(), restores memvar
                 UP ARROW
                 DOWN ARROW
                 PGUP
                 PGDN
                 CTRL/HOME
                 CTRL/END
                 CTRL/R
                 CTRL/C
                 CTRL/M

  Note:     You can assign any key you want to become an exit key.
            If you assign an exit key that reads() uses as a control
            key (such as CTRL/U), then that key will exit instead
            of performing it's normal function. Any SET KEY TO
            definitions will take precedence over any exitkeys()
            definition. The maximum number of exitkeys() you can
            define is 20. Any keys over 20 are ignored.


See Also: reads()

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