It’s time you give the computer a lot more work! For example, let’s make the computer count for you. This chapter introduces FOR and NEXT.
Make sure you are at the startup screen. Type the following:
10 FOR I=1 TO 10 (press RETURN)
20 PRINT I (press RETURN)
30 NEXT I (press RETURN)
Type RUN and press RETURN to start the program.
How does this work?
Line 10 says this:
FOR I=1 TO 10
The variable called I is set to 1 with I=1. So, I=1. Let’s skip the other stuff for now.
Line 20 says ...