Constant strings
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Constant strings
- From: Enrico Colombini <erix@...>
- Date: 2002年8月16日 11:10:09 +0200
Is there a reason why adjacent constant strings are not considered as a
single string, like in C? For example, this is not allowed in Lua:
Show("Suppose this is a long string "
"broken in two lines for readability")
If I use "..", does it have a cost or are the strings concatenated into a
single string only once at compile time?
Enrico