Index
Flow Control

:!: Available in version 2.4.4 and later.

endswitch

endswitch

Description

Delimits (ends) the switch construct.

Examples

switch
    case(<-currentState 0 ==) 
        @HandleIdle
    endcase
 
    case(<-currentState 1 ==) 
        @HandleMove
    endcase
 
    case(<-currentState 2 ==) 
        @HandleFire
    endcase
endswitch

See Also

case
switch
endcase

Index