MathGroup Archive 1999

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

Search the Archive

Re: equaltity of lists

  • To: mathgroup at smc.vnet.net
  • Subject: [mg19043] Re: equaltity of lists
  • From: Harald Giese <giese at dkrz.de>
  • Date: Thu, 5 Aug 1999 01:34:38 -0400
  • Organization: Institut fuer Meereskunde, Universitaet Hamburg
  • References: <7o5ih1$rml@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Drago Ganic wrote:
> 
> 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

Hi Drago,

SameQ will do the job: 
{a, b} === {b, a}
False

{a, b} === {a, b}
True


Regards,
Harald

-- 
Harald Giese
Email: giese at dkrz.de
> NEUE TELEFON-NUMMER | NEW PHONE-NUMBER <
Phone: +49 (0)40 42838 5796; Fax: +49 (0)40 5605724
Institut fuer Meereskunde der Universitaet Hamburg
(Institute of Oceanography of the University of Hamburg)
Troplowitzstrasse 7, D-22529 Hamburg


  • Prev by Date: Re: equaltity of lists
  • Next by Date: Re: HypergeometricPFQ Question
  • Previous by thread: Re: equaltity of lists
  • Next by thread: Re: equaltity of lists