Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

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

Search the Archive

Re: equaltity of lists

  • To: mathgroup at smc.vnet.net
  • Subject: [mg19083] Re: [mg19036] equaltity of lists
  • From: BobHanlon at aol.com
  • Date: Thu, 5 Aug 1999 01:35:05 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

Drago,

Because it could be either True or False depending on whether or not a equals 
b.

Try {a, b} === {b, a}, i.e., test for sameness as opposed to equality.

Bob Hanlon

In a message dated 8/3/99 6:41:37 PM, drago.ganic at in2.hr writes:

>Why don't I get an answer (False) when I ask Mathematica
>
>    {a,b}=={b,a}
>
>like the one I get with
>
>    {1,2}=={2,1}
>    False
>


  • Prev by Date: Re: Packed Arrays in version 4
  • Next by Date: RE: latest on Mathematica 4 bug
  • Previous by thread: equaltity of lists
  • Next by thread: Re: equaltity of lists