1. Re: Binary I/O Operations? Not there yet...
- Posted by Dick Holmes <d.holmes at aristoslogic.com> Jun 05, 2007
- 501 views
- Last edited Jun 06, 2007
Well, I've tried a couple of different libraries (thanks for the suggestions) but they all use "puts" to do the writing. The problem I'm finding with "puts" is that it wants to put out carriage return/linefeed when it finds #00 in a string. What I need instead is a function (or procedure) that actually writes the #00 and goes on until it runs out of characters (either due to a limited count or the end of a sequence). I thought perhaps "puts" would do this since I opened my file using the "wb" mode, but no such luck. At worst, I could bail out to C, but I'd rather not do that if at all possible. Dick Still searching...