Services & Resources / Wolfram Forums
MathGroup Archive
*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
  • Subject: [mg19083] Re: [mg19036] equaltity of lists
  • From: BobHanlon at
  • Date: Thu, 5 Aug 1999 01:35:05 -0400
  • Sender: owner-wri-mathgroup at


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

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 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