> x[0] = 0; // zero length string :-) Complete change of topic: I like experimenting with different ways of doing this; current favourite is *x*=0; Any other variants, or different ways of doing standard things? Dave. -- Gllug mailing list - Gllug at linux.co.uk http://list.ftech.net/mailman/listinfo/gllug