EasyManua.ls Logo

VTech PreComputer Prestige - Using the Calculator

VTech PreComputer Prestige
93 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
68
Example:
10 DATA 1,3,8,9
20 READ A,B,D
30 RESTORE
40 READ X,Y
50 PRINT A;B;D
60 PRINT X;Y
70 END
RUN
1 3 8
1 3
The RESTORE command makes subsequent READ statements get their values from the
start of the first DATA statement.
Now see if you can work out what is happening here.
Example:
10 REM FIND AVERAGE
20 DATA 0.125,3,0.6,7
30 DATA 23,9.3,25.2,8
40 S=0
50 FOR I=1 TO 8
60 READ N
70 S=S+N

Related product manuals