in reply to Re: Writing Out Binary Files
in thread Writing Out Binary Files

And the selection is:
I have a long list of numbers that you wish to save to disk,
but you would prefer them to be more compact.
Actually every reply so far has been quite helpful!
Thanks Again!

Replies are listed 'Best First'.
Re: Re: Re: Writing Out Binary Files
by BrowserUk (Patriarch) on May 08, 2003 at 17:39 UTC

    In that case, you should probably be looking at the 'F' or 'D' pack/unpack format specifiers depending upon your needs regarding space versus accuracy.


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller