Loop stalling server?
#3

Quote:
Originally Posted by Vince
Посмотреть сообщение
Ye, infinite loop obviously.

Код:
assume FindLastReportID is 1
re is initialized to 0
0 smaller than 1
loop runs
re is decremented 
re is now -1
-1 still smaller than 1
loop runs
re is decremented
re is now -2
-2 still smaller than 1
loop runs
...
Get the point?
Yeah, thanks. I didn't think about that, I think I'm braindead today, lol.
Reply


Messages In This Thread
Loop stalling server? - by 2KY - 13.03.2012, 22:32
Re: Loop stalling server? - by Vince - 13.03.2012, 22:35
Re: Loop stalling server? - by 2KY - 13.03.2012, 22:37

Forum Jump:


Users browsing this thread: 2 Guest(s)