Site hosted by Angelfire.com: Build your free website today!
NAME
  KEY Statement (Assignment)

SYNOPSIS
  KEY key%, stringexpression$
  KEY LIST
  KEY ON
  KEY OFF
      o key%                 The number of a function key. Use 1 through 10 for
                             function keys F1 through F10. Use 30 and 31 for
                             function keys F11 and F12 on extended keyboards.
      o stringexpression$    A string of up to 15 characters that is returned
                             when the function key is pressed.
      o LIST                 Displays the assignments for each key.
      o ON                   Turns on the function-key display line.
      o OFF                  Turns off the function-key display line.

DESCRIPTION
  Assigns string values to function keys and, optionally, displays key values.

  Example:
      KEY 4, "MENU" + CHR$ (13)
      KEY LIST
      KEY 4, ""
      KEY LIST

SEE ALSO
  KEY (Event Trapping)