* Makefile
* config/*
* contrib/*
* doc/*
* extras/*
* include/*
* lib/*
* package/*
* src/*
* tests/*
* utils/*
* removed empty lines left after removed '$' + 'Id' + '$' identifiers
21 lines
392 B
Plaintext
21 lines
392 B
Plaintext
#require "hbnf"
|
|
|
|
#define SCANCODE_ESCAPE ( hb_BChar( 27 ) + hb_BChar( 1 ) )
|
|
|
|
PROCEDURE Main()
|
|
|
|
LOCAL cKey
|
|
|
|
CLS
|
|
? "Press any key, ESCape to exit:"
|
|
|
|
DO WHILE .T.
|
|
cKey := ft_ScanCode()
|
|
? Str( hb_BCode( hb_BSubStr( cKey, 1, 1 ) ), 3 ) + ", " + Str( hb_BCode( hb_BSubStr( cKey, 2, 1 ) ), 3 )
|
|
IF cKey == SCANCODE_ESCAPE
|
|
EXIT
|
|
ENDIF
|
|
ENDDO
|
|
|
|
RETURN
|