while – Talk

From Bohemia Interactive Community
Revision as of 08:51, 22 June 2007 by Doolittle (talk | contribs)
Jump to navigation Jump to search

Forever ?

There is a BIS set limit on how many-time a while loop will run, I believe it is 10,000 times.

Meaning in the example below forever is really only 13hrs. 10000*5/60*60. _forever=true; while {( forever)} do { // do something sleep 5; }; BarmyArmyBarmyArmy

This is already addressed in Control_Structures#while-Loop though I think you are right about the implicit suggestion to add this in the article. -- Manny 18:50, 2 May 2007 (CEST)
Does this hold true with any kind of looping command? Like a for-loop? (as far as ArmA is concerned) --Doolittle 08:51, 22 June 2007 (CEST)