select
select キーワード
Syntax
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
値を解析する変数.
- value1, ..., valuen
適当な命令ブロック
instructions 1, ..., instructions nが存在するvariableの値.- valueC1, ..., valueCN
like
value1, ..., valuenbut an OR is applied on eachvariable == valueCx. It is useful to group cases with same instruction.- instructions
有効な命令のブロック.
Examples
履歴
| バージョン | 記述 |
| 6.0.0 |
|
| 2024.0 |
|
| Report an issue | ||
| << return | Control flow | then >> |