if ( Min.Color<=Color and Color<=Max.Color )
begin
{ do some thing }
end;
{ else color is invalid }
{ Screen not written to -- safely ignore command }
else if
else
if else if-then
if else if
14.1.2 if-then-else
case
if-then-else
if-then-else C
if( InputChar < SPACE )
CharType=ControlChar;
else if( InputChar==' ' || InputChar==',' || InputChar=='.' ||
InputChar=='!' || InputChar=='(' || InputChar==')' ||
InPutChar==':' || InputChar==';' || InputChar=='?' ||
InPutChar=='-' )
CharType=Punctuation;
else if( '0' <= InputChar && InputChar <= '9' )
CharType=Digit;
else if( 'a' <= InputChar && InputChar <= 'z' ) ||
( 'A' <= InputChar && InputChar <= 'Z' )
CharType=Letter;
if-then-else
boolean function
if-then-else C
if(IsControl(InPutChar))
CharType=ControlChar;
else if(IsPunctuation(InPutChar))
CharType=Punctuation;
else if(IsDigit(InputChar))
CharType=Digit;
else if(IsLetter(InputChar))