select キーワード
select expr, case expr1 then instructions1, case expr2 then instructions2, ... case exprn then instructionsn, [else instructions], end | ![]() | ![]() |
注意:
唯一の規則は,各 "then" キーワードを対応する "case" キーワードと同じ行に 置く必要があることです.
キーワード "then" の代わりにキャレッジリターンまたはカンマを使用することができます.
instructions1 は expr1=expr の場合に実行される,
といったようになります.
警告: 条件文(if while for または select/case)の本体の定義に使用できる文字数は 16k に制限されています.