From: silverdr; on Sat., April 24, 2010; at 02:07 PM -0400 > > On 2010-04-24, at 19:35, silverdr wrote: > > > I thought so too, but have rewritten it to "ifeq" only after > > finding that "ifndef" doesn't work as expected. :-( > > Actually, even when writing the "ifndef", I already was having doubts > about whether that not assigning a value is the same as not mentioning > the variable, at all. After all, it had to be processed. My doubts > were proven valid. Other possibility would be to use "ifndef", > and comment out the variables at the top. But then, it potentially > could be prone to errors caused, e.g., by bogus values passed > from the outside. That is something that we both don't like. :-) To put it another way: Assigning an empty string to a variable _does_ define it! Therefore, "ifndef" cannot be used in that context. ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Sat Apr 24 22:03:19 2010
This archive was generated by hypermail 2.1.8 : 2010-04-24 22:03:21 CEST