LSL-PyOptimizer/unit_tests/regression.suite/for-continue.out
Sei Lisa 6e229313b1 Add regresion test for continue-in-for
Just to ensure that the third part of the for loop (the updater expression list) is correctly run every iteration when 'continue' is used.
2023-03-02 17:19:31 +01:00

23 lines
376 B
Text

integer x;
default
{
timer()
{
x = 1;
@___for__00001;
if (x < 5)
{
{
if (x == 3)
jump J_autoGen00002;
llOwnerSay((string)x);
@J_autoGen00002;
}
{
++x;
}
jump ___for__00001;
}
}
}