endselect
An endselect statement specifies the end of a select statement. Use this command in combination with case, endselect and select to create a select statement.
state = 1 select state case 1: print ( "state is 1" ) endcase endselect