Re: Reading and decoding binary data

2014-03-13 Thread proth...@earthednet.org
Thanks, Richard. That lets me anticipate the new changes. I'm also modifying images and I'l convert that code to use byteToNum. Bill William Prothero http://es.earthednet.org On Mar 13, 2014, at 9:44 AM, Richard Gaskin wrote: > prothero wrote: > > > Mainly, what I was wondering is if the byt

Re: Reading and decoding binary data

2014-03-13 Thread Richard Gaskin
prothero wrote: > Mainly, what I was wondering is if the byteToNum command is the > correct one. In images, its the convert character to number, but > I thought the character commands for binary data were going to > be deprecated. Yes, for comparing a single-byte value, byteToNum is the better c

Re: Reading and decoding binary data

2014-03-13 Thread proth...@earthednet.org
Folks: Mainly, what I was wondering is if the byteToNum command is the correct one. In images, its the convert character to number, but I thought the character commands for binary data were going to be deprecated. Thanks, Bill William Prothero http://es.earthednet.org On Mar 12, 2014, at 4:55

Reading and decoding binary data

2014-03-12 Thread proth...@earthednet.org
Folks: Before I bang my head against the wall too much, I'd like to make sure I'm approaching this task correctly. I have a digital elevation file consisting of 16 bit 2's complement data. I first determine the position of the data for the desired location, then I do a binary read. put getAF