>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.
>
Download my ClsHeap class from the Files section; it contains UDFs that will convert most binary structures to VFP numerics, as well as providing a mechanism for allocating, controlling and dereferencing information not resident in VFP's memory space.