Kill implicit joining of adjacent strings

so so at so.do
Wed Nov 10 20:04:24 PST 2010


> string someText = "I find it useful, and I like it. I like to break long  
> strings into smaller ones"
>     "and put each one in one line. I know that you can do that using one  
> single string, but"
>     "some syntax hightlighters don't like it that way.";
>
> Now becomes:
>
> string someText = "I find it useful, and I like it. I like to break long  
> strings into smaller ones" ~
>     "and put each one in one line. I know that you can do that using one  
> single string, but" ~
>     "some syntax hightlighters don't like it that way.";
>
> Bye,
> bearophile

For 3 lines yes but how about a long file? Not everyone using vim!
What about this one?

"red" "blue" => error

"red"
"blue" => pass

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


More information about the Digitalmars-d mailing list