case
selectで使用されるキーワード
説明
select ... case ... end命令で使用されるキーワード
キーワードcase は,変数値の1つの値を指します
(値の範囲から選択された変数値).
以下のように使用されます:
select expr0 case expr1 then instructions 1 case expr2 then instructions 2 ... case exprn then instructions n [else instructions] end
例
履歴
| バージョン | 記述 |
| 6.0.0 | case is now protected:
Assignments like case=1 are no longer possible. |
| Report an issue | ||
| << break | Control flow | continue >> |