07-14-2020, 10:40 PM
(07-14-2020, 10:19 PM)boriel Wrote: GOTO <experssion> is not supported.
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
Brilliant, thank you so much for that.
I've sorted out 10 or so errors, just have a couple to go and hopefully the program will compile.