Switch statement (TADS)
From IFWiki
[edit]
Syntax
In TADS 2 and TADS 3:
switch ( expression ) { case constantExpression-1: statement(s) case constantExpression-2: statement(s) . . . case constantExpression-n: statement(s) default: statement(s) }
Note that both the case-clauses and the default-clause of a switch-statement are optional.
[edit]
Example
TODO
[edit]
Description
TODO
