◄Keywords► ◄Contents► ◄Index► ◄Back► CASE <expression> OF <case constant> : <statement>; . . <case constant> : <statement> [ ELSE : <statement> ] END Description A CASE statement compares the result of an expression to one or more case constants. If the values of the expression and a case constant match, the associated statement is executed. If none of the cases match, the statement associated with the ELSE is executed. If there is neither a match nor an ELSE, program execution continues at the statement following the END. See also: Conditional statement, IF, Pascal Statement Hierarchy