lua-users home
lua-l archive

Re: Silly string question

[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

AltStyle によって変換されたページ (->オリジナル) /