lua-users home
lua-l archive

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


Philippe Lhoste wrote:
Well, if I understood correctly, this syntax is to have long strings without line breaks.
For what you show, long string syntax might be better adapted...

The aim is to be able to have a correct indentation, I think.
Even if I'd hate to introduce another operator, perhaps a "compile time concatenation" operator could be much cleaner:

 local s = "hello, I am " ##
           "a long string"

(The ## symbol here is arbitrary, of course)

  Enrico