Site hosted by Angelfire.com: Build your free website today!
NAME
  ON Keyword

DESCRIPTION
  Performs different actions as part of several statements:
      o Enables error trapping when used with the ON ERROR statement.
      o Enables event trapping when used with the event ON statements
        (COM ON, KEY ON, PEN ON, PLAY ON, STRIG ON, and TIMER ON).
      o Specifies an event to trap when used with the ON event statements
        (ON COM, ON KEY, ON PEN, ON PLAY, ON STRING, and ON TIMER).
      o Specifies an expression to evaluate when used with the ON...GOSUB
        and ON...GOTO statements.

SEE ALSO
  COM ON COM KEY (Assignment) KEY (Event Trapping) PEN Statement PLAY ON PLAY STRIG STRIG ON STRIG TIMER Statement