mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-24 02:06:10 +00:00
28 lines
370 B
ActionScript
28 lines
370 B
ActionScript
package tests
|
|
{
|
|
|
|
public class TestSwitchDefault
|
|
{
|
|
public function run():*
|
|
{
|
|
var a:* = 5;
|
|
switch (a)
|
|
{
|
|
case 57 * a:
|
|
trace("fiftyseven multiply a");
|
|
break;
|
|
case 13:
|
|
trace("thirteen");
|
|
case 14:
|
|
trace("fourteen");
|
|
break;
|
|
case 89:
|
|
trace("eightynine");
|
|
break;
|
|
default:
|
|
trace("default clause");
|
|
}
|
|
}
|
|
}
|
|
}
|