MathGroup Archive 2002

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

Search the Archive

Re: build-in commutativity

  • To: mathgroup at smc.vnet.net
  • Subject: [mg36716] Re: build-in commutativity
  • From: Tom Burton <tburton at brahea.com>
  • Date: Fri, 20 Sep 2002 04:16:33 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hello,

On 9/19/02 12:21 AM, in article ambu72$qst$1 at smc.vnet.net, "Evgeni Trifonov"
<algolog at yandex.ru> wrote:

> I'm curious, why the built-in boolean functions "And" and "Or"
> aren't commutative?

The on-line help explains why. (Look up And or Or and then link A.4.2.) You
are assured that the argments of And or Or are evaluated left to right,
stopping on the first False (for And) or True (for Or).

Tom Burton



  • Prev by Date: Could someone verify a long Pi calculation in Version 4 for me?
  • Next by Date: How to Properly Use Partition?
  • Previous by thread: Re: Could someone verify a long Pi calculation in Version 4 for me?
  • Next by thread: Re: build-in commutativity