lua-users home
lua-l archive

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


At 14.56 05/10/02 -0500, John Belmonte wrote:
>Your other option is to use some type of markup and do post processing 
>on the strings. 

Yes, of course, but that's just a way to program around the 'long constant
string' issue :-)
The same problem arises when defining strings that must be aligned in some
way. For example, while programming in C for a 16x2 LCD display, I can
format my code just as the user will see it [better read with a monospaced
font]:

 char errmsg[] = "Unknown error   "
                 "don't do that!  ";

That's very useful for catching mis-alignments in the source code.

  Enrico