
Click above to get retro games delivered to your door ever month!
X-Hacker.org- SuperLib 3.50 - function ctrlw()
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
FUNCTION CTRLW()
Short:
------
CTRLW() Sends chr(23) (Control-W) to the keyboard
Returns:
--------
Nothing
Syntax:
-------
SET KEY XXX to CTRLW
Description:
------------
Allows remapping a key to Ctrl-W - a common Clipper
EXIT key. CTRL-W is not a really intuitive key, but is often
required by Clipper. I'll often set F10 to act as Ctrl-W.
Examples:
---------
EXTERNAL CTRLW
SET KEY 27 to CTRLW // remaps ESCAPE to CTRL-W
also
SETKEY(K_F10,{||ctrlw()})
Notes:
-------
Declare as EXTERNAL i.e. EXTERNAL CTRLW
Source:
-------
S_CTRLW.PRG
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson