07-14-2020, 10:19 PM
GOTO <experssion> is not supported.
Line numbers are just labels.
You can, however, use ON ... GOTO. In the example above:
ON <expression> GOTO a, b, c, d... jumps into a, b, c, d... if expression is one of 0, 1, 2, 3... respectively
Line numbers are just labels.
You can, however, use ON ... GOTO. In the example above:
Code:
10 ON INT(RND * 4) GOTO 1380, 1386, 1392, 1398
ON <expression> GOTO a, b, c, d... jumps into a, b, c, d... if expression is one of 0, 1, 2, 3... respectively