[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: BYTES to LONG
If your variables for holding X and Y are of the correct type, you should be
able to read up to or point_lun to the proper place in the file, and then
read them in directly using the READU command. It helps to have a hex
editor/viewer to figure out the offsets into the file that you are looking
for.
Kelly Dean wrote:
> I am reading in a combination ASCII/BINARY file with USGS DLG
> information as a binary file.
>
> I am able to convert the bytes into ASCII with STRING([72B, 101B, 108B,
> 108B, 111B]).
>
> However, I cannot figure out how to convert the 4 bytes into LONG, whihc
> is the UTM X and Y numbers. Any suggestions?
>
> Kelly