EasyManua.ls Logo

Sharp PC-1403 - Page 149

Sharp PC-1403
252 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...
1
4
3
Note: The execution
o
f
t
he
FOR
-N
E
XT
lo
op
d
oe
s
t
o
th
e
end
ev
e
n
i
t
it jumps out of the
loop.
Therefore
,
no
t
e
tha
t
a
nes
t
i
ng
e
r
ro
r of
t
he FOR-NEXT loop (ERROR 5}
may
resu
l
t
depe
nd
i
ng on
t
he progr
am
(
p
r
ogram
s
w
h
ich execute the FOR
command a
nu
m
ber of
t
i
me
s)
.
This
gro
up of s
t
a
tem
e
nts
co
m
put
e
s and
p
r
i
nts
N fac
t
o
rial
fo
r
t
he
nu
mbe
rs from
1
to
10
.
70
FOR
N
=
1TO
10
80 X=1
9
0
F
OR F=1
TO
N
100 X=
X
*F
1
10
N
EX
T F
120 PRINT X
130 NEXT N
4
0 FOR
N
=
10
T
O 0
ST
EP
-1 J
T
h
i
s
gro
u
p
o
f
s
t
at
ement
s counts
dow
n
10
,
9,
50
PRIN
T
N
8
,
7
,
6
,
5, 4,
3
,
2
,
1
,
0
.
60
NE
X
T
N
T
h
i
s
g
r
o
u
p
o
f statements
pr
i
n
ts
t
he
n
u
mb
e
r
s
1 ,
2,
3
,
4
,
5
.
J
10 FOR
1
=1
T
O 5
20
P
RINT
I
30
NE
XT
I
Examples
Verbs
FOR ... TO

Related product manuals