Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compiling errors
#2
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
Reply


Messages In This Thread
Compiling errors - by Jodo - 2020-07-13, 03:14 PM
RE: Compiling errors - by boriel - 2020-07-14, 11:19 PM
RE: Compiling errors - by Jodo - 2020-07-14, 11:40 PM
RE: Compiling errors - by boriel - 2020-07-15, 08:26 AM
RE: Compiling errors - by Jodo - 2020-07-18, 02:25 PM
RE: Compiling errors - by boriel - 2020-07-18, 05:47 PM
RE: Compiling errors - by Jodo - 2020-07-18, 07:51 PM
RE: Compiling errors - by boriel - 2020-07-19, 12:38 PM
RE: Compiling errors - by Jodo - 2020-07-19, 02:50 PM
RE: Compiling errors - by boriel - 2020-07-19, 04:37 PM
RE: Compiling errors - by Jodo - 2020-07-19, 07:35 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)