mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-12 02:14:08 +00:00
New test classes for fors, updated AS3Generator for tests
This commit is contained in:
28
libsrc/ffdec_lib/testdata/flashdevelop/src/tests/TestForGoto.as
vendored
Normal file
28
libsrc/ffdec_lib/testdata/flashdevelop/src/tests/TestForGoto.as
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
package tests
|
||||
{
|
||||
public class TestForGoto
|
||||
{
|
||||
|
||||
|
||||
public function run() : *
|
||||
{
|
||||
var len:int = 5;
|
||||
for (var i:uint = 0; i < len; ++i)
|
||||
{
|
||||
var c:int = 1;
|
||||
|
||||
if (c == 2)
|
||||
trace("A")
|
||||
else if (c == 3)
|
||||
trace("B")
|
||||
else
|
||||
continue;
|
||||
|
||||
trace("C")
|
||||
|
||||
}
|
||||
trace("exit");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user