[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: out of memory
- From: Enrico Colombini <erix@...>
- Date: Sun, 06 Oct 2002 11:45:39 +0200
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