× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



But, even with your "fix" to the problem, the code doesn't really make sense. You're saying "as long as this random value is equal to itself". and I don't see why you'd want to do that. If an infinite loop is what you're striving for, then code it as an infinite loop. Don't code it as checking an uninitialized value against itself... that's very confusing.

Lim Hock-Chai wrote:
Yes. There is no other code in the program that touches this variable.
It appears that the original programmer is using it to do infinite loop.
As you and others have mentioned, it's a strange way to do infinite
loop.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.