mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-12 17:41:53 +00:00
AS3 test methods separated to classes, Fixed AS3: get/set slot for global scope
This commit is contained in:
33
libsrc/ffdec_lib/testdata/flashdevelop/src/tests/TestInnerIf.as
vendored
Normal file
33
libsrc/ffdec_lib/testdata/flashdevelop/src/tests/TestInnerIf.as
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
package tests
|
||||
{
|
||||
|
||||
public class TestInnerIf
|
||||
{
|
||||
public function run():*
|
||||
{
|
||||
var a:* = 5;
|
||||
var b:* = 4;
|
||||
if (a == 5)
|
||||
{
|
||||
if (b == 6)
|
||||
{
|
||||
trace("b==6");
|
||||
}
|
||||
else
|
||||
{
|
||||
trace("b!=6");
|
||||
}
|
||||
}
|
||||
else if (b == 7)
|
||||
{
|
||||
trace("b==7");
|
||||
}
|
||||
else
|
||||
{
|
||||
trace("b!=7");
|
||||
}
|
||||
|
||||
trace("end");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user