Re: Interpreter Mod We Can All Get Behind

new topic     » goto parent     » topic index » view thread      » older message » newer message

Bernie Ryan wrote:
> And How about a line continuation symbol
> 
> Example:
> 
>   "This is a long string that I want to continue on the next line __
>    so I can just use the two underscores to continue it on this line"

The D programming language has the simple rule that adjacent string literals in
the text are assumed to be a single literal. Thus your example would become ...

   "This is a long string that I want to continue on the next line "
   "so I can just continue it on this line"


-- 
Derek Parnell
Melbourne, Australia
Skype name: derek.j.parnell

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu