Re: Possible Mac OS Bug with FIX. [message #44022 is a reply to message #44021] |
Wed, 11 May 2005 12:37   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Kenneth Bowman writes:
> Since these statements are running on the same machine, why would endianess
> matter? (Not a rhetorical question ... just confused like David.)
Well, thank you! This is the dilemma in a nutshell.
You have a string of bytes, sequentially numbered, obviously.
If you are asked to read two of those sequential bytes and make
it an integer, wouldn't you expect the FIX programmer to treat
the first byte as the "lowest" bits (first in time, I guess)
and the second byte as the "highest" bits (next in time).
Then, depending upon which machine you are running on,
you would put the "lowest" bits first or second, depending
on endianess (is that a word?).
That obviously makes it an RSI problem. Or, would RSI say
I don't know what the hell you are thinking, YOU figure it
out?
I'd like to know before I place the phone call. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|