case statement

views updated

case statement A conditional control structure that appears in most modern programming languages and allows a selection to be made between several sets of program statements; the choice is dependent on the value of some expression. The case statement is a more general structure than the if then else statement, which allows a choice between only two sets of statements.

More From encyclopedia.com