string:
- match: statement
- case: statement
- then: [ statement, ... ]
- default: [ statement, ... ]
case
and
then
conditions as required.
match
is a way of saying:
"compare this value".
case
follow by
then
is a way of saying:
"in case it matches with this value, then execute this statement".
default
is a way of saying:
"if nothing matches, then execute this statement".
then
statement is executed.
Or when the sequence has finished.