-Reminder made in DB not DBPRO so it may take a tweak or two to work in DBP
Hex Value Function "No strings directly used for speed"
function HexVal(hexnum$)
hexnum$=upper$(hexnum$):LENG=LEN(hexnum$):COUNT=1:V2=0
IF LENG=1 THEN GOTO SINGLE:
MORE:
NYBBLE$=mid$(hexnum$,COUNT):NYB=ASC(NYBBLE$):V=0
if val(NYBBLE$)>0 then V=Val(NYBBLE$)
if NYB>64 and NYB0 then V=Val(NYBBLE$)
if NYB>64 and NYB0 then V=Val(NYBBLE$)
if NYB>64 and NYB0 then V=Val(NYBBLE$)
if NYB>64 and NYB