RXTERM

xcall RXTERM, exitcode

RXTERM.SBR (Windows only) looks in the type-ahead buffer to see if a function key or Ctrl+C character has been entered, and if so, returns the INFLD-compatible exitcode. This can be useful to short-circuit some program actions and provide immediate response to a function key command.