Control Structures: Switch Statements

@switch($i)
    @case(1)
        First case...
        @break

    @case(2)
        Second case...
        @break

    @default
        Default case...
@endswitch

Control Structures: Switch Statements — Structure map

Clickable & Draggable!

Control Structures: Switch Statements — Related pages: