Continuation lines?

Does LUA support continuation lines?

I have a VERY long text string and don't want it to run to column 1000 in the editor!

I don't mean the \n you can add to the string but how to layout a long string in the editor...

local text = "a long
text
for example"

Never mind - I've done this

local text = "a long "
text = text .. "text "
text = text .. "for example"

What you're probably looking for is "long brackets". take a look at this section of the lua book.

http://www.lua.org/manual/5.1/manual.html#2.1

views:1682 update:2011/10/6 9:28:12
corona forums © 2003-2011