02-02-2017, 01:17 PM

Hello,

I've noticed that somthing that is possible is Sinclair Basic doesn't seem possible in Boriel....

eg:

Sinclair Basic

10 LET x=0

20 LET x=x+1-(50 AND x=50)

30 PRINT AT 0,0;x,

40 GOTO 20

As you can see x=x+1 will increment minus 0 unless x=50 then it will subtract 50. Great for loops and counters. In ZXB I am having to expand this into IF THEN statements.

x=0

x=x+1

myloop:

IF x=50 THEN

x=0

END IF

Print at 0,0;x,

GOTO myloop

I've noticed that somthing that is possible is Sinclair Basic doesn't seem possible in Boriel....

eg:

Sinclair Basic

10 LET x=0

20 LET x=x+1-(50 AND x=50)

30 PRINT AT 0,0;x,

40 GOTO 20

As you can see x=x+1 will increment minus 0 unless x=50 then it will subtract 50. Great for loops and counters. In ZXB I am having to expand this into IF THEN statements.

x=0

x=x+1

myloop:

IF x=50 THEN

x=0

END IF

Print at 0,0;x,

GOTO myloop