LET S=S+50 without the LET
Posted: Wed Mar 07, 2018 4:13 pm
Consider this BASIC:
It works on EightyOne - in other words, each time you "NEXT S" you increase the S variable by the number specified in the "STEP" in line 10 (in this case 50)
I think this could be a byte-saver if used currectly.
Regards,
Shaun.
Code: Select all
10 FOR S=-CODE "M" TO NOT PI STEP CODE "M"
20 NEXT S
30 PRINT AT NOT PI, NOT PI;"SCORE: ";S
40 NEXT S
50 GOTO 30
I think this could be a byte-saver if used currectly.
Regards,
Shaun.