From Bohemia Interactive Community
⚠
The alternative syntax
for array do code
is
slower than the first syntax because the condition is checked every iteration, and it has a few bugs. It is only kept for backward-compatibility. Always use the first syntax.