[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (work3) now available
- From: M Joonas Pihlaja <jpihlaja@...>
- Date: Wed, 19 May 2010 07:16:52 +0300 (EEST)
On Tue, 18 May 2010, Wesley Smith wrote:
> Perhaps I missed this, but what purpose do string continuations have
> when we have long string syntax?
Encoding long data without unwanted newlines (at least that's what I'm
going to use it for.) Sure the syntax is a little ugly, but it works.
e.g.
data = "bla bla bla bla\*
\032bla bla bla"
--> "bla bla bla bla bla bla bla"
I wasn't initially a fan of the swallowing of whitespace beyond the
newline for indenting thing, but can see it's useful and can live with
escaping leading _wanted_ spaces.
Joonas