NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
The case label

The case label in a switch statement is not a statement in itself.

It is a label that precedes a list of statements. Multiple case labels can precede the same statement. The case label has the syntax shown below.

case constant_expression :

The switch statement page contains an example of how to use the case label.