|
While loop speed question
#314058
03/05/10 13:53
03/05/10 13:53
|
Joined: Mar 2007
Posts: 112
MikeS
OP
Member
|
OP
Member
Joined: Mar 2007
Posts: 112
|
Hi guys. I do have an Question about while loops. if i have an while loop like this:
while(!anyvar)
{do something }
without an wait(1) in it, does this while loop repeat faster than 1 frame? If yes, how fast is it repeated? (roundabout) And such an while loop would not give an possible endless loop error, is that right too? greetings Mike
|
|
|
Re: While loop speed question
[Re: Saturnus]
#314071
03/05/10 15:13
03/05/10 15:13
|
Joined: Sep 2003
Posts: 6,861 Kiel (Germany)
Superku
Senior Expert
|
Senior Expert
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
|
I'm very sure that max_loops is for C-Script only. It doesn't have any relevance in lite-C anymore. Exactly!
"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual Check out my new game: Pogostuck: Rage With Your Friends
|
|
|
|