Michael,
see if this helps
xx = substr(???,2)
uInt = asc(xx) + 256*asc(substr(xx,2,1)) && bytes are reversed
>Hi, could someone please assist.
>
>I am trying to decode a binary file. There are unsigned 2 byte integers that represent a CRC check digit and length of data packet.
>
>My question is: How do convert an unsigned 2 byte int, presented in binary format into a real integer value.
>
>Thank you in advance.
>
>Kind regards,
>Mike Mayo
Gregory