numpad enter ASCII value (in FileMaker Pro)

User avatar
Chyros

03 May 2017, 10:10

At the lab we're improving the chemical database system in FileMaker Pro, for which we need the ASCII value of the numpad enter. This is sometimes listed to be 13, which is the one for the return key. Using this value makes the program respond to the return key but NOT the numpad enter. Can anyone here help out?

Cheers!

tigpha

03 May 2017, 14:08

Try ASCII value 10, which is line-feed (LF). The value 13 is carriage return (CR). Not sure whether the ASCII code is different for either keys on a keyboard -- they might be distinguished by scan-code, not the resulting character code.

The sequence CR-LF usually terminates a line of text, Unix and Mac notwithstanding....

User avatar
Daniel Beardsmore

03 May 2017, 18:32

Assuming you're on a Macintosh (the native habitat of FileMaker), you want: [wiki]Enter key (Macintosh)[/wiki] — 0x03.

I once spent ages trying to track down a totally incomprehensible parse error in some Prolog code caused by hitting numpad enter, and the character being inserted invisibly (no newline, no little square, nothing).

Talking about parsing …

Post Reply

Return to “Keyboards”