Hi Patrick, I guess the easiest way is to use 3 x UInt8.
You could theoretically fill 3 bytes of a 4 byte MemoryBlock and then read it as UInt32. Or just calculate the UInt32 (Byte1*256*256 + Byte2*256 + Byte3). But I think this is slower that just using 3 UInt8.
UInt 8 has a range of 0...255, while Byte (=Int8) is -128...127. Don't confuse with MemoryBlock.Byte. This Byte will be returned as Int32, and the values are 0...255.
Best, Paul _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
