lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I agree that the better answer here is constant folding for string
concatenation. The motivation for using the C style approach over the the [[
]] style approach is presumably related to better indentation behavior in
the code and better control over things like line breaks. But I don't see it
as a huge burden to have to write:

    myBigString = "The first part of the string "
               .. "is followed by the the second "
               .. "part of the string."

Mark