Tethys writes: >There are probably more efficient ways of doing it than the bit twiddling >I've done, but it should at least work... Of course, using bitwise ORs instead of addition would probably help here. My excuse was that it was too early in the morning! Tet -- Gllug mailing list - Gllug at linux.co.uk http://list.ftech.net/mailman/listinfo/gllug