mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-04 02:55:18 +00:00
30 lines
463 B
ActionScript
30 lines
463 B
ActionScript
package tests
|
|
{
|
|
|
|
public class TestIncDec6
|
|
{
|
|
|
|
public function run():*
|
|
{
|
|
var a:* = new TestClass1();
|
|
|
|
trace("a.attrib++ with result");
|
|
trace(a.attrib++);
|
|
|
|
trace("a.attrib-- with result");
|
|
trace(a.attrib--);
|
|
|
|
trace("a.attrib++ no result");
|
|
a.attrib++;
|
|
|
|
trace("a.attrib-- no result");
|
|
a.attrib--;
|
|
}
|
|
}
|
|
}
|
|
|
|
class TestClass1
|
|
{
|
|
public var attrib:int = 5;
|
|
}
|