G
Guest
Is there an easy way of writing a number in 32 bit integer format into four
bytes of a file? I am experimenting with FilePut but I can only make it work
by defining a four byte array and doing some simple calculations to work out
from my integer what the individual values of the four bytes have to be.
Surely there must be a short cut to doing this?
And are there also any existing routines for converting a floating point
number into 32bit IEEE or IBM floating point format and writing the bytes
into a file?
Grateful for any help.
bytes of a file? I am experimenting with FilePut but I can only make it work
by defining a four byte array and doing some simple calculations to work out
from my integer what the individual values of the four bytes have to be.
Surely there must be a short cut to doing this?
And are there also any existing routines for converting a floating point
number into 32bit IEEE or IBM floating point format and writing the bytes
into a file?
Grateful for any help.