write multiple lines without "\n" with writeln
    via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Fri Nov 21 08:59:00 PST 2014
    
    
  
On Friday, 21 November 2014 at 15:00:31 UTC, ketmar via 
Digitalmars-d-learn wrote:
> On Thu, 20 Nov 2014 14:23:23 -0300
> Ary Borenszweig via Digitalmars-d-learn
> <digitalmars-d-learn at puremagic.com> wrote:
>
>> This way you avoid silly typing mistakes while at the same 
>> time you allow splitting a string across several lines without 
>> having to concatenate them at runtime.
> i bet that current D frontend is able to concatenate string 
> literals in
> compile time.
AFAIK yes. There was a change to guarantee that string literals 
concatenated by ~ are joined at compile time. The goal was to 
deprecated concatenation by juxtaposition, which hasn't happened 
yet, though.
    
    
More information about the Digitalmars-d-learn
mailing list