While we're on this subject, note that initialising pointers (and FP) to all-bits-zero via memset is not strictly portable. Not all architectures represent a NULL pointer as all-bits-zero. The C-FAQ mentions a number of such machines. http://www.eskimo.com/~scs/C-faq/top.html Alan