Closed Coryf88 closed 2 years ago
Describe the bug While loops are not restricted to 10,000 iterations.
To Reproduce
sqfvm.exe -a --sqf "private _iterations = 0; while { _iterations < 10001 } do { _iterations = _iterations + 1; }; _iterations"
[INF] Context droped with return value '10001'.
Expected behavior [INF] Context droped with return value '10000'.
[INF] Context droped with return value '10000'.
Screenshots
Additional context BIKI - Unscheduled Environment: while Loops
Describe the bug While loops are not restricted to 10,000 iterations.
To Reproduce
sqfvm.exe -a --sqf "private _iterations = 0; while { _iterations < 10001 } do { _iterations = _iterations + 1; }; _iterations"
[INF] Context droped with return value '10001'.
Expected behavior
[INF] Context droped with return value '10000'.
Screenshots![image](https://user-images.githubusercontent.com/204475/144930804-e064f1de-03c2-4ba4-b055-f28915f98cfd.png)
Additional context BIKI - Unscheduled Environment: while Loops