Is this simpler?
code:
$A=ASC($X)
$A=$A-48-($A>64)*7

{EDIT} Nope {/EDIT}

[ 11 June 2002, 17:05: Message edited by: Richard Howarth ]