getKeyCode()

The system function ConsoleLib.getKeyCode returns the key integer code of the specified key name.

  ConsoleLib.getKeyCode(keyName STRING in)
  returns (result INT)
result
An integer that represents the key name.
keyName
The name of the logical or physical key for which to calculate the corresponding key code.

Related reference
EGL library ConsoleLib

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.