ONPurpose: Selectable GOTO or GOSUB.
Format: ON n GOTO line [, line...]
ON n GOSUB line [, line...]
Description: n is an expression rounded to an integer line is a line number in the program
The value of n determines which line number in the list the program uses for branching. For ex am ple, if n is 3, the third line number in the list is the point to which the program branches.
If the value of n is illegal for the given list, no branch occurs.
|