Conditional-choice

The conditional-choice chooses between two or more algorithms on the basis of one or more boolean expressions (conditions).

(315,160) (000,150)conditional-choice (000,130)(1,0)030040IF (1,0)025 (095,120)(20,20)[r] (025,090)(1,0)005040THEN (1,0)030060paragraph (1,0)030040ELIF (1,0)005 (235,100)(20,20)[r] (235,110)(-1,0)145 (025,110)(1,0)005060expression (025,100)(20,20)[l] (165,080)(20,20)[r] (165,070)(-1,0)140 (025,060)(20,20)[l] (025,050)(1,0)005040ELSE (1,0)030060paragraph (1,0)005 (165,040)(20,20)[r] (165,030)(-1,0)140 (025,020)(20,20)[l] (015,060)(0,-1)040 (025,010)(1,0)005040FI (1,0)120

The type of the conditional-choice is the type of the paragraph executed. Therefore all paragraphs in the conditional-choice must have the same type.