User Tools

Site Tools


4rpl:commands:endswitch

This is an old revision of the document!


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

4rpl/commands/endswitch.1661971154.txt.gz · Last modified: 2022/08/31 14:39 by Karsten75