Acorn Computers BBC Micro Model B w/8271 — Acorn BBC Micro Model B w/8271 User Guide Manual PDF

334 TO Purpose Part of the FOR...TO...STEP...NEXT statement. The final terminating value of the loop is given after the word TO . See chapter 15 for further information. Description Part of the FOR...NEXT construct. Syntax FOR = TO [ STEP ] Associated keywords FOR , STEP , NEXT Demonstration program 10 MODE 5 20 FOR C=1 TO 3 30 GCOL 3,C 40 FOR X=0 TO 1200 STEP 5*C 50 MOVE 600,750 60 DRAW X,0 70 NEXT X 80 NEXT C