lua-users home
lua-l archive

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


> Is there a way to do something like:
> 
> MyString = "Some       string"
>            "Some other string"
>            "Wow, more strings";

Well, you can use concatenation:

MyString = "Some       string" ..
           "Some other string" ..
           "Wow, more strings";

but you pay a little price (the concatenation is done at run-time). I think
such price is usually negligible.

-- Roberto