[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (beta-rc6) now available
- From: David Given <dg@...>
- Date: Wed, 06 Jul 2011 10:57:21 +0100
HyperHacker wrote:
[...]
> So it's \z now to continue a line? That's kinda ugly. What's wrong
> with just \<line break>?
That already means 'literal newline':
a = "foo\
bar"
print(a)
->
foo
bar
Yeah, \z is ugly, but TBH I can't think of anything cleaner they could
have done, and it *is* needed.
--
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│ "I have always wished for my computer to be as easy to use as my
│ telephone; my wish has come true because I can no longer figure out
│ how to use my telephone." --- Bjarne Stroustrup
Attachment:
signature.asc
Description: OpenPGP digital signature