Igor Pechtchanski wrote: >> just do: < return "the log"; >, and remove the bad_file variable? > > Hmm. Personally, I prefer to use named constants whenever possible.
It seems a little silly to use a constant when it is required only once. > However, static variables aren't the way to go -- I must have been > programming too much Java lately... :-) I should have used a > #define, but then got a better idea - that string should really be a > resource, as it's a phrase, not a filename. General question: What advantage do resources give us over string literals, for messages that are only used once in setup? Max.