Re: Binary I/O Operations? Not there yet...
- Posted by Bernie Ryan <xotron at bluefrog.com> Jun 05, 2007
- 493 views
Dick Holmes wrote: > > 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... What's wrong with using print Bernie My files in archive: WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API Can be downloaded here: http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan