Difference between revisions of "while"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m
Line 44: Line 44:
  
 
[[Category:Scripting Commands|WHILE]]
 
[[Category:Scripting Commands|WHILE]]
 +
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands OFP 1.96|WHILE]]
 
[[Category:Scripting Commands OFP 1.96|WHILE]]
 
[[Category:Scripting Commands ArmA|WHILE]]
 
[[Category:Scripting Commands ArmA|WHILE]]

Revision as of 12:06, 25 September 2014

Template:Command

Notes

Posted on May 14, 2008
Kronzky
The boolean code that's used to evaluate the while condition can be preceded by code that executes a regular command.
while {_a =_a + 1; _a < 10} do {...}

Bottom Section

Posted on August 30, 2014 - 08:12 (UTC)
Killzone Kid
In non-scheduled environment, while do loop is limited to 10000 iterations, after which it exits even if condition is still true. In scheduled environment no such limit exists.