Re: Rob: What's up with this?
Lucius L. Hilley III writes:
> What's up with printf? Is printf just a wrapper of C's printf?
> character #00 seems to just drop off into oblivion when
> using printf. Hmm, I wonder, Does sprintf() have the same
> ill behavior?
Thanks. I'll fix this for the next release. It should be easy.
Currently, puts() will correctly send 0's to a file,
but printf() and sprintf() terminate the string at a 0 character.
Euphoria's printf() is more than just a wrapper for C's
printf(), in fact C's printf() is not even called to handle
Euphoria's %s format.
But, yes, at one point in the code, I slipped, and allowed
a 0 to terminate a string unexpectedly.
Regards,
Rob Craig
Rapid Deployment Software
http://www.RapidEuphoria.com
|
Not Categorized, Please Help
|
|