Confusion about static arrays

Rick Mann rmann-d-lang at latencyzero.com
Sun Jan 28 01:39:01 PST 2007


Kirk McDonald Wrote:

> It seems that writefln doesn't know how to convert a static array to a 
> hex number. It does, however, know how to write a pointer in hex, so 
> using .ptr works.

I should've been more clear. I wasn't actually trying to write the contents of the array, just the address of the first element in it. But your note about the spec helps me to clear things up.

Thanks!


More information about the Digitalmars-d-learn mailing list