Difference between revisions of "Talk:while"

From Bohemia Interactive Community
Jump to navigation Jump to search
(Forever ?)
(Forever ?)
Line 14: Line 14:
 
</nowiki></code>
 
</nowiki></code>
 
[[User:BarmyArmy|BarmyArmy]]BarmyArmy
 
[[User:BarmyArmy|BarmyArmy]]BarmyArmy
 +
 +
: 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. -- [[User:Manny|Manny]] 18:50, 2 May 2007 (CEST)

Revision as of 18:50, 2 May 2007

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)