LSL-PyOptimizer/unit_tests/regression.suite/if-else-noswap.out
Sei Lisa 08c429f22b Add IfElseSwap option
This enables an option that was being done unconditionally: to swap the `if` and `else` branches if the condition is shorter when negated.

Enabled by default.
2022-10-31 20:08:26 +01:00

15 lines
253 B
Text

default
{
timer()
{
integer a = llGetLinkNumber();
if (a == 3)
llOwnerSay("1");
else
llOwnerSay("2");
if (!a)
llOwnerSay("3");
else
llOwnerSay("4");
}
}