Sanyo MBC-550 Series User Manual page 144

Table of Contents

Advertisement

Examples
1)
>100 DIM A(10)
>150 FOR 1=1 TO 1OrREAD A(I):NEXT
>170 DATA 1,2,5,10,3,7,15,8,3,4
Input the line number from 200 to 220 as follows
Result
>200 FOR 1=1 TO 10
>210 PRINT «A(I)=";A(I)
>220 NEXT
A(I)=1
A(I)=2
A(I)=5
A(I)=10
2)
>10 READ A,B,C,D,E,F
>20 RESTORE 60
>30 READ G,H,I
>40 DATA 10,10
>50 DATA 20,20
>60 DATA 30,30
Input the line number from 100 to 180 as follows:
Result
A=10
B=10
C=20
D=20
E=30
F=30
G=20
H=20
1=30
>100 PRINT "A=,f;A
>110 PRINT "B=";B
>120 PRINT "C=»;C
>130 PRINT "D=";D
>140 PRINT "E=";E
>150 PRINT WF=M;F
>160 PRINT "G=,f;G
>170 PRINT MH=";H
>180 PRINT "I=";I
3-77

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents