torhu n...@spam.invalid wrote in message
news:i5cqgo$37...@digitalmars.com...
On 29.08.2010 07:06, Nick Sabalausky wrote:
ubyte myByte = 0x09;
writef(%%%.2X, myByte);
writef(%%%02X, myByte);
On codepad.org (DMD 1.026 last time I checked), this prints this:
%09%09
So it's probably a bug
Nick Sabalausky a...@a.a wrote in message
news:i5cnrn$30h...@digitalmars.com...
I'm having trouble understanding the docs on this. From what I could tell,
it seemed like both of these should work:
writef(%.2X, myByte);
writef(%02X, myByte);
But both of them just simply print the format
On 29.08.2010 07:06, Nick Sabalausky wrote:
ubyte myByte = 0x09;
writef(%%%.2X, myByte);
writef(%%%02X, myByte);
On codepad.org (DMD 1.026 last time I checked), this prints this:
%09%09
So it's probably a bug in the new formatting code. I assume it's
supposed to follow the C behavior in