mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-08-09 05:51:16 +00:00
24 lines
268 B
ActionScript
24 lines
268 B
ActionScript
package tests
|
|
{
|
|
|
|
public class TestTryIf
|
|
{
|
|
public function run():*
|
|
{
|
|
var a:int = Math.random();
|
|
try
|
|
{
|
|
if (a > 5 && a < 50)
|
|
{
|
|
trace("in limits");
|
|
}
|
|
trace("next");
|
|
}
|
|
catch (e:Error)
|
|
{
|
|
trace("in catch");
|
|
}
|
|
}
|
|
}
|
|
}
|