User Tools

Site Tools


4rpl:commands:endcase

Index
Flow Control

:!: Available in version 2.4.4 and later.

endcase

endcase

Description

Delimits each case statement that needs to be evaluated.

Examples

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

See Also

4rpl/commands/endcase.txt · Last modified: 2022/08/31 14:36 by Karsten75