On 2/10/06, The Fool <[EMAIL PROTECTED]> wrote: > > > So is this right?:
It looks like it should successfully swap the byte order for you. You should be able to test it easily enough by writing the same number once with the swap and once without it into Mem. Then print out Mem (or view in the debugger) and see that they're reversed compared to each other. I'm still not sure why you want to make everything big endian, though. Is it just to make it easier to manipulate the individual bytes at some later point? Personally, instead of swapping every value I wrote into Mem, I'd probably code the byte manipulation routines to handle the little endian order. But that's probably more a matter of taste and your exact application than anything else. -bryon _______________________________________________ http://www.mccmedia.com/mailman/listinfo/brin-l
