| 1 | input terminated because inkey_active was set to OFF or another keyboard entry was active at the same time. |
| 9 | input terminated by [Tab] |
| 13 | input terminated by [Enter] |
| 27 | input terminated by [Esc] |
| 72 | input terminated by [Up] |
| 73 | input terminated by [PgUp] |
| 80 | input terminated by [Down] |
| 81 | input terminated by [PgDn] |
| string | String receives keyboard entry. |
| inkey_active | is set to ON during entry. |
STRING* entry_str = " "; // long empty string
...
result = inkey(entry_str); // wait until [enter] pressed
if (result == 13) {
process_entry(entry_str);
}