while – Talk
Jump to navigation
Jump to search
m (→Forever ?) |
Lou Montana (talk | contribs) m (Text replacement - "<code>" to "<code style="display: block">") |
||
Line 4: | Line 4: | ||
Meaning in the example below forever is really only 13hrs. 10000*5/60*60. | Meaning in the example below forever is really only 13hrs. 10000*5/60*60. | ||
<code><nowiki> | <code style="display: block"><nowiki> | ||
_forever=true; | _forever=true; | ||
while {( forever)} do { | while {( forever)} do { |
Latest revision as of 11:53, 11 January 2023
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)
the awfulness of this inconsistent language syntax means:
while {forever} do // will fail without the otherwise meaningless ()'s
Mikero (nee Ook?) 12:25, 5 June 2012 (CEST)