From 4d8453d1a788ac6f02120b9714dffe8fd42ef8fc Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 20 Mar 2013 12:13:14 +0100 Subject: [PATCH] use hb_keyChar(), some other corrections --- ChangeLog.txt | 4 ++++ doc/en/input.txt | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index 105ae73ef6..f92e6de8cd 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -10,6 +10,10 @@ * Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment */ +2013-03-20 12:12 UTC+0100 Viktor Szakats (harbour syenar.net) + * doc/en/input.txt + + use hb_keyChar(), some other corrections + 2013-03-20 00:48 UTC+0100 Viktor Szakats (harbour syenar.net) * config/postinst.hb * utils/hbmk2/hbmk2.prg diff --git a/doc/en/input.txt b/doc/en/input.txt index d74115e068..748c18ba99 100644 --- a/doc/en/input.txt +++ b/doc/en/input.txt @@ -21,7 +21,7 @@ $ONELINER$ Extracts the next key code from the Harbour keyboard buffer. $SYNTAX$ - Inkey( [] [,] ) --> nKey + Inkey( [] [, ] ) --> nKey $ARGUMENTS$ is an optional timeout value in seconds, with a granularity of 1/10th of a second. If omitted, Inkey() returns immediately. If set @@ -120,7 +120,7 @@ $SUBCATEGORY$ User interface $ONELINER$ - DO NOT CALL THIS FUNCTION DIRECTLY! + Use hb_keyPut() instead $SYNTAX$ KEYBOARD CLEAR TYPEAHEAD @@ -226,7 +226,7 @@ EXIT ELSE IF nKey != 0 - cChar := Chr( nKey ) + cChar := hb_keyChar( nKey ) ENDIF ENDIF ENDDO