[Issue 3813] Bad writeln of arrays

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Sep 5 04:12:49 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=3813



--- Comment #20 from bearophile_hugs at eml.cc 2011-09-05 04:12:39 PDT ---
(In reply to comment #19)

> If you want that result, following code will work.
> 
> writefln("[%(%.1f, %)]", array2);  // prints [1.0, 2.0]

What I meant to say is that I'd like
writeln([1.0, 2.0])

To print this one default:
[1.0, 2.0]

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list