Hi James,

I love these sort of convertions, here's the code:

code:

BREAK ON CLS

; Hex2Dex

$HEX=@ADDRESS
$DEC=0

if len($hex)<>(len($hex)/2)*2
? "Not a valid Hexadecimal number"
else
while len($hex)>0
$part=substr($hex,1,2)
$hex=substr($hex,3,len($hex))
$DEC=$DEC+val("&$part")
loop
? $DEC
endif


Now could you explain to us what you want to do with this information?

------------------
Greetz,

Roger the Young
------------------------
The code is out there...
------------------------

_________________________
The Code is out there