IAI America PSEL User Manual

Page 202

Advertising
background image




192

Part 2 Programs


 ELSE (Else)

Command, declaration

Extension condition

(LD, A, O, AB, OB)

Input condition

(I/O, flag)

Command,
declaration

Operand 1

Operand 2

Output

(Output, flag)

Prohibited Prohibited ELSE

Prohibited

Prohibited CP

[Function] An ELSE command is used arbitrarily in conjunction with an IF

 or IS command to

declare the command part to be executed when the condition is not satisfied.


[Example 1]

Refer to the sections on IF

 and IS.












 EDIF (End IF)

Command, declaration

Extension condition

(LD, A, O, AB, OB)

Input condition

(I/O, flag)

Command,
declaration

Operand 1

Operand 2

Output

(Output, flag)

Prohibited Prohibited EDIF

Prohibited

Prohibited CP

[Function] Declare the end of an IF

 or IS command.


[Example 1]

Refer to the sections on IF

 and IS.

Advertising