On 7 Jan 2006 at 15:15, Gert Doering wrote:
Hi,
On Sat, Jan 07, 2006 at 01:05:02PM -0000, Prof A Olowofoyeku (The African Chief) wrote: > From what you say, it would seem that this is more correct for the loop > condition (if "length" is signed): > While (length <> 0) ...
Well, in C, "while (length)" will just test for "anything that is not 0", so yes, "length <> 0" would reflect this better.
As far as I can see, length should never become negative in this code, so this point is probably moot here :)
Ok, thanks ...
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/