while – Talk

From Bohemia Interactive Community
Revision as of 17:34, 2 May 2007 by BarmyArmy (talk | contribs) (Forever ?)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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