Conditional-choice

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

(315,160)<#4648#> (000,150)<#4559#>conditional-choice<#4559#> 220 (000,130)<#4560#>(1,0)<#4077#>030<#4077#> <#5595#>(040,010)<#5598#>IF<#5598#><#5595#> (040,010) (1,0)<#4080#>025<#4080#><#4560#> (095,120)<#4081#>(20,20)[r]<#4081#> 221 (025,090)<#4561#>(1,0)<#4082#>005<#4082#> <#5604#>(040,010)<#5607#>THEN<#5607#><#5604#> (040,010) (1,0)<#4085#>030<#4085#><#5609#>#tex2html_wrap7547#(060,010)<#5610#>paragraph<#5610#><#5609#> (1,0)<#4088#>030<#4088#> <#5616#>(040,010)<#5619#>ELIF<#5619#><#5616#> (040,010) (1,0)<#4091#>005<#4091#><#4561#> 222 (235,100)<#4092#>(20,20)[r]<#4092#> (235,110)<#4562#>(-1,0)<#4093#>145<#4093#><#4562#> (025,110)<#4563#>(1,0)<#4094#>005<#4094#><#5621#>#tex2html_wrap7557#(060,010)<#5622#>expression<#5622#><#5621#><#4563#> (025,100)<#4097#>(20,20)[l]<#4097#> 223 (165,080)<#4098#>(20,20)[r]<#4098#> (165,070)<#4564#>(-1,0)<#4099#>140<#4099#><#4564#> (025,060)<#4100#>(20,20)[l]<#4100#> 224 (025,050)<#4565#>(1,0)<#4101#>005<#4101#> <#5628#>(040,010)<#5631#>ELSE<#5631#><#5628#> (040,010) (1,0)<#4104#>030<#4104#><#5633#>#tex2html_wrap7567#(060,010)<#5634#>paragraph<#5634#><#5633#> (1,0)<#4107#>005<#4107#><#4565#> 225 (165,040)<#4108#>(20,20)[r]<#4108#> (165,030)<#4566#>(-1,0)<#4109#>140<#4109#><#4566#> (025,020)<#4110#>(20,20)[l]<#4110#> 226 (015,060)<#4567#>(0,-1)<#4111#>040<#4111#><#4567#> 227 (025,010)<#4568#>(1,0)<#4112#>005<#4112#> <#5640#>(040,010)<#5643#>FI<#5643#><#5640#> (040,010) (1,0)<#4115#>120<#4115#><#4568#> 228 <#4648#>

The type of the <#4116#>conditional-choice<#4116#> is the type of the <#4117#>paragraph<#4117#> executed. Therefore all <#4118#>paragraphs<#4118#> in the <#4119#>conditional-choice<#4119#> must have the same type.