Manual
85
12.16 Branching commands
12. SEL Language
noisnapxE
noitidnoc
)RO·DNA(
tupnI
noitidnoc
)galF·O/I(
dnammoC
tsoP
)galF·troptuptuO(
dnammoC 1dnarepO 2dnarepO
lanoitpOlanoitpOTCLS
●SLCT (Start Selection Group)
[Function] Branches to the next step after the OTHE command if none of the conditions set up by the WHXX,
WSXX or any commands up to the EDSL command are met.
(Example] SCPY 1 ‘Right’ Assign ‘Right’ to column 1 and 5.
:
600 SLCT Since the string in columns 1 through 5 are equal to ‘Right’, the
commands that follow this WSEQ will be executed.
WSEQ 1 ‘Right’ Since the string in columns 1 through 5 are not equal to ‘left’,
the commands that follow this WSEQ will not be executed. If it
is neither, then the commands that follow OTHE are executed.
WSEQ 1 ‘Left’ When flag 600 is OFF, or if any one of the conditions is executed,
: then end the select.
OTHE
:
EDSL