[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: New long strings
- From: Philippe Lhoste <PhiLho@...>
- Date: Mon, 21 Jun 2004 18:12:36 +0200
Roberto Ierusalimschy wrote:
Do you consider ie. the '[[**' approach (by Philippe) [...]
That syntax does not work when the string starts with an asterisk.
Thanks for giving your opinion.
Actually, my proposal isn't really like that, that's Asko that pushes
the use of asterisks... :-)
I proposed any string after the square brakets, then an EOL that really
starts the string, so you can put asterisks at the start of the string:
a = [[**
** Nice! **
**]]
or:
a = [[#=-
** Nice! **
#=-]]
or even:
a = [[
** Nice! **
]]
or old style:
a = [[** Nice! **]]
All are equivalent to a = "** Nice! **".
Not pushing too hard my proposal, but I don't want it misinterpreted ;-)
--
--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--
Philippe Lhoste (Paris -- France)
Professional programmer and amateur artist
http://Phi.Lho.free.fr
--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--