MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: evaluate to True?

  • To: mathgroup at
  • Subject: [mg125922] Re: evaluate to True?
  • From: Bill Rowe <readnews at>
  • Date: Sat, 7 Apr 2012 05:56:39 -0400 (EDT)
  • Delivered-to:

On 4/6/12 at 6:01 AM, christoph.lhotka at (Christoph Lhotka)

>I am really sorry for reposting it but of course the subject of
>discussion should be:

>MemberQ[{0, 1, 2}, expr_]

expr_ is a pattern that has been given the name "expr" and will
match anything. So, as long as the list given is not an empty
list, this pattern will match at least one element of the list
and MemberQ would return True.

  • Prev by Date: netCDF 4?
  • Next by Date: complex triple sum
  • Previous by thread: netCDF 4?
  • Next by thread: complex triple sum