Sel language, Leav (escape from do while) ● iter (repeat) – IAI America DS-S-C1 User Manual
Page 86

84
[Function]
Escapes the DO
XX
loop, then the program proceeds to the next step after EDDO.
[Example]
DWEQ 1
0
·
·
600
LEAV
·
·
EDDO
While variable 1 is 0, the commands up to the EDDO command are repeated.
If flag 600 turns ON during this time, the loop is forced to end and the program proceeds to the next
step after the EDDO command. If variable 1 is still 0, then the loop is repeated.
n
o
i
s
n
a
p
x
E
n
o
i
t
i
d
n
o
c
)
R
O
·
D
N
A
(
t
u
p
n
I
n
o
i
t
i
d
n
o
c
)
g
a
l
F
·
O
/
I
(
d
n
a
m
m
o
C
t
s
o
P
)
g
a
l
F
·
t
r
o
p
t
u
p
t
u
O
(
d
n
a
m
m
o
C
1
d
n
a
r
e
p
O
2
d
n
a
r
e
p
O
l
a
n
o
i
t
p
O
l
a
n
o
i
t
p
O
V
A
E
L
n
o
i
s
n
a
p
x
E
n
o
i
t
i
d
n
o
c
)
R
O
·
D
N
A
(
t
u
p
n
I
n
o
i
t
i
d
n
o
c
)
g
a
l
F
·
O
/
I
(
d
n
a
m
m
o
C
t
s
o
P
)
g
a
l
F
·
t
r
o
p
t
u
p
t
u
O
(
d
n
a
m
m
o
C
1
d
n
a
r
e
p
O
2
d
n
a
r
e
p
O
l
a
n
o
i
t
p
O
l
a
n
o
i
t
p
O
R
E
T
I
[Example]
DWEQ 1
0
·
·
600
ITER
·
·
EDDO
While variable 1 is 0, the commands up to the EDDO command are repeated.
If flag 600 turns ON during this time, the loop is forced to end and control is forced to move to the
EDDO command. If variable 1 is still 0, then the loop is repeated.
12. SEL Language
●
LEAV (Escape From DO WHILE)
●
ITER (Repeat)
[Function]
Forces the control to move to EDDO during the DO
XX
loop.