Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

Re: evaluate to True?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg125922] Re: evaluate to True?
  • From: Bill Rowe <readnews at sbcglobal.net>
  • Date: Sat, 7 Apr 2012 05:56:39 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

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

>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