philips@jse.co.za wrote: : The second is that the compiler does not recognise hex : chars. It was leathfull because I had it in a test : for characters below space which cause a lookup on a : table to core dump. : if ( khar < 'x20) : tbl[khar].xxxx I am suprised that compiled at all. Try if ( khar < '\x20') tbl[khar].xxxx -- Stephen Baynes baynes@ukpsshp1.serigate.philips.nl Philips Semiconductors Ltd Southampton My views are my own. United Kingdom Are you using ISO8859-1? Do you see � as copyright, � as division and � as 1/2?