Dynamic Minimum width with Format / writefln
Adam D. Ruppe
destructionator at gmail.com
Wed Oct 3 00:34:33 UTC 2018
On Wednesday, 3 October 2018 at 00:14:03 UTC, Chris Katko wrote:
> Except it doesn't work and tries to decode col.width-1 into a
> hexadecimal number and only prints that. ("4D6EF6")
That number certainly isn't col.width (unless you have a width of
It looks more like a pointer. What is the type of col.name? If it
is string, this code should work fine.
I'm guessing it is a char*...
More information about the Digitalmars-d-learn