Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

IS_DATA( nKey_hit )

Purpose

Determine if a keystroke pressed is a data key.

Arguments

     nKey_hit -- ASCII value of keystroke

Setup

None.

Example

     LOCAL keystroke

     IF IS_DATA( keystroke := LASTKEY() )
        ... some commands ...
     ENDIF

Returns

.T. if nKey_hit is the ASCII value of a "data key" (see NOTES below),
else .F.

Side Effects

None.

Artful Calls

None.

Source File

ARTFUL.CH

Notes

We define a "data key" as any character with an ASCII value greater than or
equal to 32 and less than or equal to 253. We've omitted 254 because we
often use that character for special processing.

Typically used in an exception handler written for use inside Clipper's
TBROWSE or ACHOICE.

This is implemented as a pseudo-function via #define.

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