ON...GOSUB, ON...GOTO Statements
◄Syntax► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
ON expression% GOSUB line-label-list
ON expression% GOTO line-label-list
■ expression% An index into the list of line labels and line
numbers. The value of expression% must be between
0 and 255, inclusive. See Details for information
on what happens if the value is greater than the
number of items in the list.
■ line-label-list A set of program line labels and line numbers,
separated by commas, that identifies the branches to
be taken. Line labels and line numbers can be used
in the same list.
See Also ◄SELECT CASE►