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
>