Am 23.07.2009, 19:06 Uhr, schrieb Gerhard Stoll <gerhard_stoll@gmx.de>:
No, with ascii_code = nkey & 0x00FF;
But if the target (ascii_code) is 8 bit wide (char) there is no difference I know of.
you get only the bits 0 to 7 form nkey. The bits 0 to 15 are zero (Bitwise And Operator).
You mean bits 8 to 15? -Helmut