On Jun 18, 7:50 am, Toinet <antoine.vig...@laposte.net> wrote: > I'm missing something here... Yes, P$ -> S$ in the 60010 subroutine. 60012 V=((ASC(MID$(P$,T,1))-48)*16)+(ASC(MID$(P$,T+1,1))-48) 60013 D=ASC(MID$(P$,T+2,1))-48 Cheers, Nick.