MathGroup Archive 2012

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

Search the Archive

Re: evaluate to True?

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