Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #9498

Re: evaluate to True?

From Bill Rowe <readnews@sbcglobal.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: evaluate to True?
Date 2012-04-07 09:58 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jlp33e$14h$1@smc.vnet.net> (permalink)

Show all headers | View raw


On 4/6/12 at 6:01 AM, christoph.lhotka@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.

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: evaluate to True? Bill Rowe <readnews@sbcglobal.net> - 2012-04-07 09:58 +0000

csiph-web