Also, (haven't got there yet) I'm going to need to extract 24 bit signed integers from the file, and again, binaryDecode doesn't support this. It wouldn't be as simple as reading the two low order bytes as an unsigned integer and then multiplying that by the high order byte as a signed integer, would it?

Mark

On 11 Jan 2006, at 14:08, Mark Smith wrote:

I need to extract a binary floating point number from a binary file. It's an 'extended' 80 bit (10 byte) floating point number (I think this is an apple thing). The binaryDecode function doesn't seem to support this, so can anyone here suggest a way of doing it?

The binaryDecode function can get the 80 bits and give me them as 1s and 0s in a rev string, or it can give me the 10 bytes as hex numbers, or various other things. Maybe that can help?

Mark

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to