Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

equality (equal) problem....

7 views
Skip to first unread message

Chris H

unread,
Feb 20, 2000, 3:00:00 AM2/20/00
to
Hi all..
This is what I ahve been trying.....

>(equal (car `("ZO" "DO")) (car `("zo" "do")))
NIL


"ZO" are just the capital letters of "zo"
and the result from "equal" is NIL

Is there anyway to show that they are equal ?

thanks...I am really stuck

chris

Rainer Joswig

unread,
Feb 20, 2000, 3:00:00 AM2/20/00
to
In article <2CQr4.9526$_e7.3...@news1.sshe1.sk.home.com>, "Chris H"
<newsgro...@NOJUNKhome.com> wrote:

> Hi all..
> This is what I ahve been trying.....
>
> >(equal (car `("ZO" "DO")) (car `("zo" "do")))
> NIL
>
>
> "ZO" are just the capital letters of "zo"
> and the result from "equal" is NIL
>
> Is there anyway to show that they are equal ?

(equalp (car `("ZO" "DO")) (car `("zo" "do")))

> thanks...I am really stuck

See:

http://www.harlequin.com/support/books/HyperSpec/Body/fun_equalp.html

Rainer Joswig, ISION Internet AG, Harburger Schlossstraße 1,
21079 Hamburg, Germany, Tel: +49 40 77175 226
Email: rainer...@ision.de , WWW: http://www.ision.de/

Tor Henrik Hanken

unread,
Feb 20, 2000, 3:00:00 AM2/20/00
to
[Chris H.]

| "ZO" are just the capital letters of "zo"
| and the result from "equal" is NIL
|
| Is there anyway to show that they are equal ?

use STRING-EQUAL.
--
best wishes,

Tor Henrik Hanken

Chris H

unread,
Feb 20, 2000, 3:00:00 AM2/20/00
to
thanks all.......porblem solved

Chris


Chris H <newsgro...@NOJUNKhome.com> wrote in message
news:2CQr4.9526$_e7.3...@news1.sshe1.sk.home.com...


> Hi all..
> This is what I ahve been trying.....
>
> >(equal (car `("ZO" "DO")) (car `("zo" "do")))
> NIL
>
>

> "ZO" are just the capital letters of "zo"
> and the result from "equal" is NIL
>
> Is there anyway to show that they are equal ?
>

0 new messages