in reply to Strange "Useless use of constant" message: should not appear at all!

A small change and it's okay:
  • Comment on Re: Strange "Useless use of constant" message: should not appear at all!

Replies are listed 'Best First'.
Re: Re: Strange "Useless use of constant" message: should not appear at all!
by muba (Priest) on May 10, 2004 at 21:45 UTC
    Hmm, I first ++ voted your message after testing it and your small change, which you have now deleted, seems to work. Strange, but thank you!

    Update: Well, it did at first sight.
      Sorry, but it seems that you can't compare arrays directly to lists (thats why I removed my original post). Meantime there are a lot of good suggestions below. Using a lookup-hash is a fine idea.