From: David Alan Black Date: 2002-07-24T05:52:28+09:00 Subject: Re: Syntax "surprise" Hi -- On Wed, 24 Jul 2002, Jim Menard wrote: > Paul Brannan writes: > > > On Wed, Jul 24, 2002 at 12:46:37AM +0900, Mike Hall wrote: > > > - compile time string concatenation, "hello" "world" => "helloworld" > > > > > > I know that some other popular languages like to do that, > > > but I think it would be better to leave it as two arguments. > > > After all, someone wrote those two literals separately on purpose. > > > > The following is a common idiom: > > > > foo("this is a really long string. in fact, it is so long " \ > > "that I have to wrap onto multiple lines.") > > or > > foo("this is short\ > and so is this") > > The string would include the newline. I don't think that's the case in either of these examples -- only if you do: foo("this is a string") David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav