mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-28 14:19:03 +00:00
27 lines
342 B
ActionScript
27 lines
342 B
ActionScript
package tests
|
|
{
|
|
public class TestSwitchComma
|
|
{
|
|
private static const X:int = 7;
|
|
|
|
public function run():*
|
|
{
|
|
var b:int = 5;
|
|
|
|
var a:String = "A";
|
|
switch (a)
|
|
{
|
|
case "A":
|
|
trace("is A");
|
|
break;
|
|
case "B":
|
|
trace("is B");
|
|
case TestSwitchComma.X,"C":
|
|
trace("is C");
|
|
break;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
} |