inxctl returns a code indicating how field was exited. If a numeric parameter is specified, then it will return one of the following:
Value |
Description |
---|---|
0 |
Input OK, no message. |
1 |
Affirmative answer to yes/no field (see type codes Y, N, X) or CTRL+E entered (indicating desire to abort) |
2 |
Negative answer to yes/no field, or LEFT-ARROW or ESCAPE entered (when enabled by the E code) |
3 |
Tab key used to terminate input when enable for the T code. |
If the parameter is specified as an S,1 variable, then it will return the actual character that caused the field to exit. Virtual function key sequences will be indicated by chr(250).
Note that inxctl is mostly a holdover from its AlphaACCOUNTING precursor INPUT.SBR and is largly superseded by exitcode which offers a much wider variety of information.