select keyword
select variable case value1 then instructions 1 case value2 then instructions 2 ... case valuen then instructions n case {valueC1 valueC2 valueCN} intructions C [else instructions] end
variable which value to be analyzed.
values of variable
for which there are appropriate instruction blocks instructions 1, ..., instructions n
.
like value1, ..., valuen
but an OR is applied on each variable == valueCx
.
It is useful to group cases with same instruction.
block of valid instructions.
Version | Description |
6.0.0 |
|
2024.0 |
|