the problem is that the values come in hex and i need used SERIN2 in order to compare start and end of string, i belive that problem is the compara in the WHILE

While I<=DATAS[y]



"I" never take the value of DATAS[y] because value is A hex.

there is no a way to turn hex to decimal without using DEC

i see in a forum that convert hex to decimal something thus.

X=X-$20 or X=X-$30

i dont remember but is something thus

other idea????

i need, i'm crazy.

Thanks
Dave
Mexico City.