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” [import]uid: 9371 topic_id: 6006 reply_id: 306006[/import]
Never mind - I’ve done this
local text = "a long "
text = text … "text "
text = text … “for example” [import]uid: 9371 topic_id: 6006 reply_id: 20569[/import]
seanh
3
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 [import]uid: 3 topic_id: 6006 reply_id: 20604[/import]