eventKey

The system variable ConverseVar.eventKey identifies the key that the user pressed to return a text form to an EGL program. The value is reset each time that the program runs the converse statement.

If the EGL code has no input form, the initial value of ConverseVar.eventKey is ENTER.

The following values are valid (whether uppercase, lowercase, or a combination):
Note: PA keys are always treated as bypass keys.

You can use ConverseVar.eventKey as an operand in an if or while statement.

The characteristics of this system variable are as follows:
Primitive type
CHAR
Data length
1
Value saved across segments
No

ConverseVar.eventKey is not valid in a basic program.

Example

The comparison operator for ConverseVar.eventKey is either is or not, as in this example:

  if (ConverseVar.eventKey IS PF3)
    exit program(0);
  end
Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.