New test classes for fors, updated AS3Generator for tests

This commit is contained in:
Jindra Petřík
2021-01-18 19:47:59 +01:00
parent 3881c8c8cb
commit da1423a254
7 changed files with 798 additions and 768 deletions

View 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");
}
}
}