Iai-america XSEL-KX Bedienungsanleitung Seite 206

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 377
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 205
190
Part 4 Commands
WSXX (Select if true; character)
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command, declaration
Output
(Output, flag)
Command,
declaration
Operand 1 Operand 2
Prohibited Prohibited WSXX
Column
number
Column
number,
character literal
CP
[Function]
This command is used between SLCT and EDSL commands to execute the subsequent
commands up to the next WXXX command or an OTHE or EDSL command when the
comparison result of the character strings in the columns specified in operands 1 and 2
satisfies the condition.
Comparison will be performed for the length set by a SLEN command.
If a character literal is specified in operand 2, comparison will be performed for the entire
length of the literal.
WSXX
EQ
Operand 1 = Operand 2
NE
Operand 1
Operand 2
[Example 1]
SLEN
3
Set the number of comparing characters to 3.
SCPY
1
ABC
Assign ‘ABC’ to column 1.
LET
1
2
Assign 2 to variable 1.
:
SLCT
Execute multi-branching.
WSEQ
1
XYZ
(1) will be executed if columns 1 to 3 contain ‘XYZ.’
Since columns 1 to 3 contain ‘ABC,’ however, this
command will not be executed.
:
(1)
:
WSEQ
2
*1
(2) will be executed if the content of the number of
characters specified by SLEN after column 2 is the
same as the content of the column specified in variable
1.
:
(2)
:
OTHE
This command will be executed if none of the conditions
are satisfied. In this example, since (2) was executed,
(3) will not be executed.
:
(3)
:
EDSL
The processing will move here if any of the conditions
was satisfied and the applicable command executed. In
this example, (2) and (4) will be executed.
:
(4)
:
* If multiple conditions are likely to be satisfied, remember that the first WXXX will become valid and any
subsequent commands will not be executed. Therefore, state from the command with the most difficult
condition or highest priority.
Seitenansicht 205
1 2 ... 201 202 203 204 205 206 207 208 209 210 211 ... 376 377

Kommentare zu diesen Handbüchern

Keine Kommentare