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 :) gert -- USENET is *not* the non-clickable part of WWW! //www.muc.de/~gert/ Gert Doering - Munich, Germany gert@greenie.muc.de fax: +49-89-35655025 gert@net.informatik.tu-muenchen.de