BASICHELP.HLB  —  ON  GOTO
  The ON GOTO statement transfers program  control  to  one  of  several
  lines, depending on the value of a control expression.

  Example

  330    ON Index% GOTO 700, 800, 900 OTHERWISE 1000

1  –  Syntax

                 { GO TO }
      ON int-exp { GOTO  } target,... [ OTHERWISE target ]
Close Help