>>Is there any way I can do a comparison from char to hex?
>>
>>
>>retval=FREAD(f,3)
>>if retval=0x4A6F65
>> do something
>>endif
>>
>
>if eval('0x'+strconv(retval,15)) = 0x4A6F65
>
>or:
>if retval = strconv('4A6F65',16)
>
>or ...
>
>Cetin
retval = strconv('4A6F65',16) looks great! Thank you!!!