[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Backslash-newline escape as a line continuation rather than a newline?
- From: M Joonas Pihlaja <jpihlaja@...>
- Date: Sat, 3 Apr 2010 09:26:46 +0300 (EEST)
On Sat, 3 Apr 2010, Sean Conner wrote:
> It was thus said that the Great M Joonas Pihlaja once stated:
I have a feeling we'll get along just fine. :)
> The multiline string contains newlines exactly where you put them, so why
> can't you do something like:
>
> reallylongstring = [[
>
> blank line above
> new line is here and there is a blank line below me
>
> but this line isn't blank
>
> ]]
I don't understand what point you're trying to make. I know how
multiline string syntax works.
> Perhaps if you were to give an example of what you are trying to achieve,
> we can help you more.
I want to embed a huge blob of binary data into a lua script and not
put it all on one line (that makes my editor cry.)
Cheers,
Joonas