Of course it isn't a good idea to use sizeof on strings! It should properly return the size of a char pointer. That is why "strlen" is in the stdio library! GREG -- {ucbvax!hplabs | allegra!nbires | decvax!kpno | harpo!seismo | ihnp4!kpno} !hao!woods